6.0.0 • Published 12 months ago

discord-url v6.0.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
12 months ago

npm version npm info

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

Typing SVG

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

npm i discord-url

For Yarn

yarn add discord-url

Typing SVG

For CommonJS

const { VanityClient }= require("discord-url")
const urlClient = new VanityClient("Self Token","Guild ID",true)

For ES6

import { VanityClient } from "discord-url";
const urlClient = new VanityClient("Self Token","Guild ID",true)

Typing SVG

Click Here To Get Support!

# Function

urlClient.setVanityURL("luppux"); // It Helps You Set The Specified URL

# Events

urlClient.on("VanitySuccess", async(res) => {
console.log(res); // return; { vanityURL:"luppux" ,guildID:""1011632065885765743 }
})

urlClient.on('VanityError', async(err) => {
console.log(err); // return; { error: <Error Message Received> }
})

Typing SVG

const { VanityClient }= require("discord-url")
const urlClient = new VanityClient("Self Token","Guild ID",true)

urlClient.setVanityURL("luppux");

urlClient.on("VanitySuccess", async(response) => {
console.log(`URL ${response.vanityURL} Successfully Received!`);
})

urlClient.on('VanityError', async(error) => {
console.log(`An Error Occurred While Retrieving URL!\nError; ${error}`);
})

Typing SVG

Discord Banner