$getServerInvite

Gets a server's invite URL.

Usages

There are two usages of the $getServerInvite function.

Usage #1

$getServerInvite

Returns a invite to the current server.

Usage #2

$getServerInvite[guildID]

Parameters

  • guildID (Type: Snowflake || Flag: Required): Returns an invite URL for the server provided.

🧙‍♂️ Note: The bot must be in the provided server for it to create a invite.

🧙‍♂️ How do I find a server/guild ID? (click-me)