Skip to main content
Module

x/discordeno/mod.ts>getVanityUrl

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