Skip to main content
Module

x/discordeno/mod.ts>getVanityUrl

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