1.1.0 • Published 3 years ago
discord-vanity v1.1.0
discord-vanity
A discord.js extension to set a new vanity URL for your guild.
Needs
- Client (with Token)
- Guild with vanity URL feature (Boost lvl 3)
Usage
Example Usage with Message Listener :
const Discord = require("discord.js"); const client = new Discord.Client(); const vanity = require('discord-vanity');
client.on('message', message => { if(message.content.startsWith("!vanity")){ const url = message.content.split(" ").slice(1); vanity.setVanityURL(client, message.guild, url); message.reply("The vanity url has been changed to " + url) } })
client.login('YOUR_CLIENT_TOKEN');
**Test with your client : "`!vanity nyrok`"**
# Install
`npm install discord-reply`
# Changelog
## * **1.0.13**
* Adding README.md file.
* Adding discord.js and colors's packages.
* Fix of wrong client user.
* Fix of guild missing feature.
* Fix of client doesn't have permission 'MANAGE_GUILD'
# License
Apache-2.0 - [Nyrok](https://github.com/Nyrok)
1.1.0-alpha.1
3 years ago
1.1.0
3 years ago
1.1.0-beta.0
3 years ago
1.0.1
3 years ago
1.0.11
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.0
3 years ago