Contents
Levlix Invite Tracking Guide
The Levlix Invites module tracks which members invited whom. This data feeds into the activity tracking, milestone, and leaderboard systems.
Creating a Tracked Invite
/invites create max_uses: <0-unlimited> duration: <hours> temporary: <true/false>
Create a custom invite link with full control over its behavior:
| Parameter | Description | Default |
|---|---|---|
max_uses |
Maximum number of times the link can be used (0 = unlimited) | 0 |
duration |
How many hours the link stays active (0 = never expires) | 24 |
temporary |
If true, members who join via this link lose their roles if they disconnect | false |
Levlix answers privately, so only you see the link. It automatically tracks who created each invite and how many times it was used.
Personal Invite Links
By default, /invites create makes an invite for the channel the command is run in. If you would rather have every member share one fixed link to a channel of your choice, for example a hidden verification channel, switch the server to personal invite links:
- Run
/setupand open Engagement, Invites, or open the server in the dashboard and go to Discord, Invites. - Under Personal invite links, pick the Invite channel. On the dashboard, choose Personal invite links in the Invite Mode card and pick the Destination Channel. The setting saves immediately.
While a destination channel is set:
/invites createalways creates a permanent, unlimited invite to that channel. Themax_uses,durationandtemporaryoptions are ignored.- Each member gets exactly one link. Running the command again returns the same link.
- Members need no invite permission at all, and they do not need to see the destination channel. Decide who may run the command with Discord's command permissions (Server Settings, Integrations, Levlix,
/invites), for example only your verified role. - You can remove Create Invite from every role so Levlix links are the only way into the server.
- Levlix needs View Channel and Create Instant Invite in the destination channel.
Clear the channel in /setup, or choose Per-channel invites on the dashboard, to go back to per-channel invites. Existing personal links keep working until you delete them in Discord.
Admin Settings
Admins find the invite tools in /setup under Engagement, Invites. Besides the Invite channel for personal links, the screen has a Statistics button that opens the Invite statistics:
- Tracked invites, different inviters, joins through invites and the most uses of one invite.
- Top inviters, the members who brought in the most people.
- A note when invites have no known creator.
On the statistics screen, Refresh invite data scans all existing invites and fills in missing creators. Use it after migrating the bot or recovering from issues. It can run once every 5 minutes. Levlix needs Manage Server to read the server's invites.
On the dashboard, Discord, Invites also shows the Top Inviters and All Invites, a searchable list of every invite link the bot has seen.
How Tracking Works
Levlix monitors Discord's invite events in real time:
- When a member joins, Levlix checks which invite code was used and credits the invite creator.
- Invite data is stored in the database and contributes to the user's activity profile.
- Invite counts appear in
/activity,/leaderboard, and the milestone system.
