Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.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.