Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/guilds/mod.ts>getVanityUrl

Discord API library for Deno
Go to Latest
function getVanityUrl
import { getVanityUrl } from "https://deno.land/x/discordeno@17.0.0/helpers/guilds/mod.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.