Gets a server's invite URL.


There are two usages of the $getServerInvite function.

Usage #1


Returns a invite to the current server.

Usage #2



  • 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)