Creates and returns a server's invite URL.
Last updated 2 years ago
$getServerInvite[guildID]
This function has one param.
Your bot must have the CREATE_INSTANT_INVITE permission in the provided guild for this function to work.
CREATE_INSTANT_INVITE
bot.commands.add({ type: "basicCommand", name: "example", code: `$getServerInvite[$guildID]` //Returns the current server's invite })
guildID
The server to create the invite in.
Snowflake
Yes