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 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:
- Open the server in the dashboard and go to Invites.
- Under Personal Invite Links, 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 the dashboard to go back to per-channel invites. Existing personal links keep working until you delete them in Discord.
Admin Commands
Update Invites
/invites updateinvites
Manually refresh the invite tracking data. This scans all existing invites and fills in any missing creator attribution. Useful after migrating the bot or recovering from issues.
Invite Statistics
/invites invitestats
View detailed invite statistics for the entire server, including top inviters and invite usage over time.
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 mystats,/leaderboard, and the milestone system.
