Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function getVanityUrl
import { getVanityUrl } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.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