Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function getVanityUrl
import { getVanityUrl } from "https://deno.land/x/discordeno@18.0.1/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.