Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function getVanityUrl
import { getVanityUrl } from "https://deno.land/x/discordeno@17.2.0/template/beginner/deps.ts";

Gets information about the vanity url of a guild.

Parameters

bot: Bot
  • The bot instance used to make the request
guildId: BigString
  • The ID of the guild to get the vanity url information for.

Returns

Promise<VanityUrl>

An instance of VanityUrl.