Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>getVanityUrl

An object oriented Discordeno framework
Latest
function getVanityUrl
import { getVanityUrl } from "https://deno.land/x/oasis@2.1.0/packages/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