The explanation for the configuration of the alert invitations that is available in InviteManager.
Alert invites allow to create a alert for a specific amount of invites.
Set up a new trigger for alert invite.
Remove a existent alert invite in your server.
List all alert invites set up in your server.
Set a custom webhook url for alert invites.
Get your webhook secret.
Reset your webhook secret to a random MD5 hash.
Send a test webhook request.
Webhooks allow you to receive real-time alert-invite events from our servers.
By creating a webhook, you can specify a URL for us to send an HTTP POST when a new alert-invite occur. This POST request will contain the relevant data from the user (user that reached n invites) and the guild in JSON format. It will also have the following headers:
Authorization: [webhook secret]
Where the webhook secret is an 64-character hash that can be used to guarantee that it was us who sent the request.
It's important you don't share or expose your webhook secret
When any member of your server has reached a specific amount of invitations that is configured as an alert invitation.