Skip to main content
The Deno 2 Release Candidate is here
Learn more
Extremely Popular
Go to Latest
function getVanityUrl
import { getVanityUrl } from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/guilds/getVanityUrl.ts";

Returns the code and uses of the vanity url for this server if it is enabled else code will be null. Requires the MANAGE_GUILD permission.

Parameters

bot: Bot
guildId: bigint