Invite Tracker
Tracks which invite link every new member used and who created it, catches fake invites, names campaign links, gives reward roles, runs weekly or monthly seasons and keeps a Top 10 of inviters up to date.
Invite Tracker tells you who invited each new member. When someone joins, DotBot works out which invite link they used and who created it, and adds an invite to that member. If the invited person leaves, the invite is subtracted. A Top 10 of inviters is posted in the channel you choose and kept up to date.
On top of that you can catch fake invites from alt accounts, require invited members to stay or take part before an invite counts, give reward roles at a number of invites, name campaign links to see where your members come from, and run seasons that reset the leaderboard every week or month and announce the winners.
How it works
- Each member creates their own invite in Discord: right-click a channel (or Invite People) → Edit invite link.
- DotBot records the link under the name of whoever created it. Each link belongs to one person.
- When someone joins, DotBot compares changes in invite uses with the members who arrived together. If the source is ambiguous, the join is recorded as unknown and no campaign roles are assigned.
- The invite counts once the invited person completes the server's rules screening and onboarding (if enabled), meets your requirements (if any) and isn't detected as fake. Until then it's pending.
- If the invited person leaves, the invite moves to left and is subtracted.
A member's total is their regular invites plus any bonus invites staff gave them. Fake and left invites don't count.
Important
By default, Discord invites expire after 7 days. To make a link permanent, choose Expire after: Never and Max number of uses: No limit when creating it. Invites a link already earned are kept after it expires.
Some rules to keep in mind:
- DotBot needs the Manage Server permission to read invites.
- People who joined before the module was turned on aren't counted.
- If someone leaves and rejoins, they count only once, for whoever invited them last.
- Inviting yourself doesn't count.
Quick start
- Give DotBot the Manage Server permission.
- Turn on Invite Tracker and open Invite Tracker → Settings.
- Choose a Top channel where the Top 10 is posted, and a private Log channel for your staff.
- Tell your members to create their own permanent invite link (see the warning above).
- Optionally, in Requirements & fakes, set a minimum account age so alt accounts don't count, and in Reward roles give roles at 5, 10 or 25 invites.
Settings
Who earns invites
| Setting | What it does |
|---|---|
| Members who earn invites | Everyone, Only members with certain roles, or Everyone except certain roles (for example, staff). Invites from other members are recorded but don't count. |
| Hidden from the Top | Members with these roles don't appear in the Top message or /invites top, although their invites are still recorded. Up to 50 roles. |
Top message
A message with the Top 10 that DotBot posts and keeps up to date. It's only edited when the ranking changes, and it's checked every 10 minutes.
| Setting | What it does |
|---|---|
| Top channel | Where the Top is posted. Empty: invites are still counted, but the Top isn't posted. |
| Title, Color, Text, Footer text | The message's look. |
| Format of each rank | The text for each rank, for example {medal} {user} · {invites} invites. Variables: {medal} (🥇🥈🥉 or the rank number), {position}, {user} and {invites}. |
The top three ranks are highlighted automatically with bigger headings; 4th to 10th are shown as normal text. A preview with sample data shows the result.
Tracking
| Setting | What it does |
|---|---|
| Log channel | DotBot logs every join (who invited them, with which code and the account's age), every leave, when a pending invite starts counting, fake invites and bonus changes. The log has buttons to mark an invite as fake. |
| Log invite links | Also logs when someone creates or deletes an invite link, and who did it (deletions need View Audit Log to show who). On by default. |
| /invites command | Lets members see their stats, the leaderboard, who invited someone, who someone invited, their links and past seasons. Staff commands stay available even if this is off. |
Message to the inviter
Send a DM to the inviter each time one of their invites starts counting. Variables: {user} (the inviter's name), {member} (the invited member), {invites} (the inviter's total) and {server}. Empty uses the default text. Members with DMs closed simply don't get it.
Data
- Export to CSV: every recorded join, including repeat visits, with its original inviter, link and last known status for that stay. Older visits with incomplete records show an unknown historical status, or the leaderboard with every category.
- Reset invites: ends the current season. The Top is archived (see Seasons), every member's invites and bonus start from zero, and reward roles are updated. The history of who invited whom is kept.
Statistics
Where your members come from, for the last days you choose. Joins come from Invite Tracker's own history, so they start when the module was turned on.
- Joins, how many are counting (and still pending), and how many aren't counting (fake or left).
- Joins by source: invite link, vanity link or unknown.
- Best links: members who joined through each link, who created it and how many are still here.
- Retention by inviter: for members invited in the last 120 days, how many stayed at least 7 and 30 days. Helps spot inviters who bring people who leave right away.
Campaign links
Name your invite links ("Twitter", "Reddit ads", "Partner X") to see where your members come from, and give roles to whoever joins through them.
| Setting | What it does |
|---|---|
| New link | DotBot creates a permanent link (never expires, unlimited uses) to the channel you choose. Because DotBot creates it, its joins count for the campaign, not for any member. |
| Name | Only visible to staff, in the log, dashboard and commands. |
| Roles for people who join with it | Up to 10 roles, given once the member completes the rules screening and onboarding. DotBot's role must be above them. Roles that can manage the server (Administrator, Manage Server, Manage Roles, Ban Members and similar) can't be chosen. Roles with moderation permissions (Timeout Members, Manage Messages and similar) can only be chosen by someone with full access to the dashboard. |
You can also name an existing invite of a member: it keeps counting for them, and its joins show up with its name. The list shows Named links or All invites, with joins, members still here and counting invites, who created each one, uses and expiry, and buttons to Copy link, edit its name and roles, Remove name or Delete invite in Discord.
Reward roles
Give roles automatically when members reach a number of invites (regular + bonus). Roles that can manage the server (Administrator, Manage Server, Manage Roles, Ban Members and similar) can't be chosen as a reward. Roles with moderation permissions (Timeout Members, Manage Messages and similar) can only be chosen by someone with full access to the dashboard.
| Setting | What it does |
|---|---|
| Roles by invites | Each row gives a role when a member reaches that many invites, for example 5 invites → @Recruiter. Up to 50 rewards. |
| Keep previous roles | On (default): members keep every reward role they've reached. Off: they only keep the role of the highest goal. |
| Remove roles when invites drop | On (default): if invited members leave (or staff removes invites) and the total drops below a goal, its role is removed. |
When you change this list, DotBot reviews every member's roles in the background. DotBot's role must be above these roles.
Requirements & fakes
Decide when an invite counts, to stop people from climbing the Top with alt accounts or members who join and do nothing.
Requirements to count
The invite stays pending until the invited member meets all of these (0 = off):
| Requirement | What it does |
|---|---|
| Days in the server | Up to 90 days. Checked every 10 minutes. |
| Messages sent | Up to 1,000 messages. Checked as they're sent. |
| Level in Levels | Up to level 500. Uses the Levels module, which must be on. Checked every 10 minutes. |
Requirements apply to new joins; invites already counting keep counting. Members who leave before meeting them never count.
Fake invites
A fake invite doesn't add to the inviter's total.
| Check | What it does |
|---|---|
| Minimum account age (days) | Accounts younger than this when they joined count as fake (0 = off, up to 365). |
| No avatar | Accounts with Discord's default avatar count as fake. Many alt accounts never set one. |
| Don't count rejoins | If someone had already joined the server before, their new join counts as fake. Each person counts only once. |
| Fake if they leave within (hours) | If the invited member leaves before this many hours, the invite counts as fake instead of "left" (0 = off, up to 720). |
Staff can also mark an invite as fake by hand with /invites-admin fake or the buttons in the log. Changes to these checks apply to new joins and leaves.
Seasons
Reset the leaderboard automatically, archive each season's Top and announce the winners.
| Setting | What it does |
|---|---|
| Seasons | Off (only manual resets), Weekly (ends every Monday) or Monthly (ends on the 1st). Seasons end at 00:00 UTC. |
| Announcement channel | Where winners are announced. Empty: the Top channel. |
| Winners announced | 1 to 10 (3 by default). |
| Announcement text | Variables: {season} and {server}. The winners list is added below automatically. |
Past seasons shows the Top 3 of each season; the full Top 10 is kept and can be seen with /invites seasons season:<number>. Use the arrows to browse other archives. Manual resets are archived here too, without an announcement.
Commands
| Command | What it does |
|---|---|
/invites stats [user:] | Your invites (or another member's): regular, bonus, fake, left and pending. |
/invites top [period:] | Members with the most invites: current season, last 30 days, last 7 days or all time, with pages. |
/invites inviter user: | Who invited a member, and with which link. |
/invites invited [user:] | Members someone has invited. |
/invites codes [user:] | Invite links someone created and their uses. |
/invites seasons | Winners of past seasons. |
/invites-admin add user: amount: [reason:] | Adds bonus invites to a member (staff). |
/invites-admin remove user: amount: [reason:] | Removes invites from a member (staff). |
/invites-admin fake user: | Marks a member's invite as fake (staff). |
/invites-admin unfake user: | Removes the fake mark from a member's invite (staff). |
/invites-admin needs the Manage Server permission and every change is logged.
Limits
| Limit | Value |
|---|---|
| Reward roles | 50 |
| Roles per campaign link | 10 |
| Hidden or inviter roles | 50 each |
| Top message | 10 ranks |
| Season winners announced | 10 |
| Top refresh | every 10 minutes |
Permissions DotBot needs
Manage Server (to read invites), Create Invite (for campaign links), View Audit Log (to show who deleted an invite), Manage Roles for reward and campaign roles, and View Channel and Send Messages in the Top, log and announcement channels.
FAQ
Why did a join show "Unknown" as the inviter?
This can happen when multiple links gained uses together, or a link disappeared between readings. A disappearance can also mean the link expired or was deleted. It can also happen if DotBot was missing the Manage Server permission at that moment.
Why is an invite still "pending"?
The invited member hasn't completed the rules screening or onboarding yet, or hasn't met your requirements (days, messages or level). It starts counting as soon as they do.
Why don't my invites from before count?
Invite Tracker only knows about joins that happen while it's on. Members who joined before it was turned on aren't counted.
Can staff give invites by hand?
Yes. /invites-admin add adds bonus invites and /invites-admin remove removes them. Bonus invites count towards the total and reward roles, and every change is logged.
How do I stop people from farming invites with alt accounts?
In Requirements & fakes, set a minimum account age, turn on No avatar and Don't count rejoins, and require a few days in the server or messages sent before an invite counts.
What are campaign links for?
They show where your members come from. Create a link for each place you share your server (a social profile, an ad, a partner) and compare their joins and how many stay in Statistics. Their joins don't add invites to any member.
What happens when a season ends?
The Top is archived as a season, the winners are announced, every member's invites and bonus start from zero and reward roles are updated. The history of who invited whom is kept.
Why is a member missing from the Top?
They have a role in Hidden from the Top, they left the server, or their role doesn't earn invites under Who earns invites.
Does a member lose an invite when the person they invited leaves?
Yes, the invite moves to "left" and is subtracted. If Remove roles when invites drop is on, a reward role is removed if their total goes below its goal.
Can I use invites in welcome messages?
Yes. With Invite Tracker on, Welcome messages can use {inviter}, {inviter.name}, {inviter.invites} and {invite.code}.