Administration Commands
The explanation for all the administration commands available for Invite Tracker.
Invite Administration
| Command | Description |
|---|---|
/deleteinvite <code> | Deletes the specified invite code |
/syncinvites [@user] | Synchronizes the server's invites with everyone or a specific user |
/purge-invite-codes [purge-amount] [maximum-uses] [include-users | exclude-users] [include-channels | exclude-channels] | Purge invite codes from your server, either every invite code or only ones that fall into the conditions you input. |
DANGER
/syncinvites adds the uses of active invites in your server to the invite count of the bot. You should only run this command once (such as when adding the bot to your server), otherwise you will double the invites if run again.
Server Settings
| Command | Description |
|---|---|
/setup | Opens the interactive setup panel: shows whether invite tracking is working and lets you enable join messages by picking a channel — a sample message is posted right away. Requires the Manage Server permission. |
/check-permissions [#channel] | Checks whether the bot has all the permissions it needs in the specified channel (or the current one) and in the server |
/massban <@user|invite_code> | Premium feature. Allows you to ban everyone invited by a specific user or you can choose to mass ban everyone invited by a specific invite code. |
/lockdown start [duration] | Premium feature. Manually activates the raid response: pauses server invites, pauses invite crediting and applies your configured response actions for the chosen duration. |
/lockdown end | Premium feature. Ends the active lockdown or raid response early and restores paused invites. |
/exportleaderboard <leaderboard_type> | Premium feature. Allows you to export the invites or messages leaderboard type. This gives you raw data that can be downloaded from a .csv file format. |
/exportinvitedlist <@user|invite_code|invite_label|filter_role> | Premium feature. Allows you to export a list of the specified type to a downloadable .csv file format. What are Invite Labels? Click here for more info. |
INFO
The export commands have a cooldown of 5 minutes to prevent abuse.
CSV Export Formats
Leaderboard Export
The /exportleaderboard command exports a CSV file with the following columns:
| Column | Description |
|---|---|
user_id | The Discord user ID |
invites | Calculated total invites |
regular_invites | Number of regular/confirmed invites |
left_invites | Number of invites where the invited user left |
fake_invites | Number of invites flagged as fake |
bonus_invites | Number of manually added bonus invites |
For message leaderboards, the export includes:
| Column | Description |
|---|---|
user_id | The Discord user ID |
messages | Total number of counted messages |
Invited List Export
The /exportinvitedlist command exports a CSV file with the following columns:
| Column | Description |
|---|---|
user_id | The Discord user ID of the invited member |
joined_at | When the member joined the server |
fake | Whether the invite was flagged as fake |
