Discord server vanity URL management tool.
npm install discord-url
> **⚠️ Warn Message: This Method Is A Forbidden Method On Discord,**
> It Violates Discord Terms And Other Rules,
> I do not accept any responsibility, advice and return on the people who will use it,
> This Package Has No Connection With The Original Discord, It Was Made By 3 Parties.
> To Install the discord-url module, open a console and write the code below.
``shell`
npm install discord-url
#How to use
For ES6 & TypeScript
`typescript
import { VanityClient, VanityEvents } from "discord-url";
const vanityManager = new VanityClient({
selfToken: 'Your Secret T0k3n',
guildId: 'Target Guild ID'
})
vanityManager.setVanityURL('luppux').then((response) => {
console.log('Request Sent Successfully');
}).catch((err) => {
console.error(err);
});
vanityManager.on(VanityEvents.VanitySuccess, async(response) => {
/ Vanity Will Be Triggered When URL Is Retrieved Successfully. /
})
vanityManager.on(VanityEvents.VanityError, async(response) => {
/* It will be triggered when an error occurs while retrieving the
Vanity URL or it cannot be retrieved. */
})
``