$getServerInvite[]

Returns the provided server’s invite URL.

Warning

The bot must be present in the provided server (Guild ID parameter) for it to create an invite.

Danger

You should not use this function to join a user’s server unsolicited. This means that you aren’t allowed to join a user’s server without their consent, otherwise it may be considered as API abuse and result in a report against you and your bot.

Syntax

$getServerInvite[Guild ID]

Parameters

Permissions

Required permissions that the bot must have for this function to work properly :

  • createinstantinvite

Example

$nomention
$getServerInvite[$message]

example