discord-url
TypeScript icon, indicating that this package has built-in type declarations

7.0.1 • Public • Published
stats

⚠️ 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.

How to Install?

To Install the discord-url module, open a console and write the code below.

npm install discord-url

How to use

For ES6 & 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. */
})

Typing SVG

Discord Banner

/discord-url/

    Package Sidebar

    Install

    npm i discord-url

    Weekly Downloads

    21

    Version

    7.0.1

    License

    GPL-3.0

    Unpacked Size

    44.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • beykant