Abyssal
Home
Tools
Docs
Support
Dashboard
# Invite Tracker The Invite Tracker records who invited each member to your server and turns those invites into leaderboards, milestones and member lookups. Every invite count is a four-part breakdown - raw, left, fake and bonus - so the leaderboard reflects honest numbers while the history stays intact. ## Enabling Enable the Invite Tracker module on the Modules page in the dashboard. The bot needs the Manage Guild permission to fetch a server's invites and attribute joins. ## Dashboard configuration The module page has a tab strip at the top with two tabs: **Tracker tab** > A searchable list of every member with tracked invites. Each row shows the member's total plus their breakdown: Raw, Left, Fake and Bonus. The **Edit** button opens the count editor: pick an action (**Add**, **Remove** or **Set**), pick one or more invite types (Raw, Left, Fake, Bonus) and enter the amount, plus an optional reason. The action applies the same amount to every picked type - Add +2 on Raw and Bonus raises both by 2, Set 0 puts the picked types exactly on 0. Edits are queued and the bot applies them within about a minute, then the leaderboards update automatically. **Sources tab** > Map invite codes and the vanity URL to labels. The page carries one Add Label button; the editor offers a searchable dropdown of the server's real invite codes (with their uses and channels) plus the vanity URL as its own entry, and Enter a code manually for anything else. A label has a name and an optional auto role that members joining through that invite receive. When a vanity label exists it shows as the first row with a Vanity URL badge, edited and deleted like any other row. Joins through a labeled invite are counted per source, and the bot picks up changes within about a minute. **Settings tab** > - **Invite Milestones**: pick an invite count and a reward of a role, currency (Economy module) or XP (Levelling module). Each member receives every milestone once. > - **Milestone Announcements**: an announcement channel and message template with variables like {user.mention}, {member}, {invites}, {milestone} and {server}, posted publicly when a member unlocks a milestone. The sparkles icon swaps the template for the full message builder, so the announcement can be an embed or component layout with the same variables. > - **Invite Types**: Raw invites (joins through someone's invite) are always tracked. Track Left Invites, Track Fake Invites and Track Bonus Invites toggle the other three types on or off - a switched off type stops being recorded, disappears from the breakdowns, the count editor and the /invites embed, and its count drops out of the totals. Turning Fake off also hides the whole Count Accuracy group below. > - **Fake Delay (days)**: joins from accounts younger than this many days are recorded as fake instead of regular. 0 disables it. > - **Do Not Count Rejoins**: when on, a member who rejoins through the same inviter counts as fake, so members cannot farm invites by leave-join cycling. > - **Minimum Account Age (days)**: joins only count when the joiner's Discord account is at least this old. A simpler knob than the fake delay. > - **Invite Blacklist**: Discord user IDs added one per entry, who never gain counts from joins; their invites still work but they are not credited. > - **Role Blacklist**: members holding any of these roles never gain counts when they join. ## Commands Members can check their own invite breakdown and moderators audit who joined through whose invites. ### `/invites` Show your invite breakdown (or another member's). | Parameter | Type | Required | Description | | --- | --- | --- | --- | | `user` | User | Optional | Member to look up. Defaults to you. | **Example:** `/invites user:@Member` ### Notes - The invite leaderboard itself lives in the `/leaderboard` command, documented on the [Levelling module page](/modules/levelling). ## How it works / Key flows - The bot keeps a snapshot of every invite's uses. When a member joins, it attributes the join to the inviter whose invite usage increased, then records that member under the inviter with a join date. - Every join goes through the accuracy rules first (when the Fake type is on): a fake join is recorded with its reason (account age, minimum account age, blacklisted inviter, blacklisted role or rejoin) and the inviter's fake count goes up instead of regular. - When a member leaves, their record is marked left, so the inviter keeps the "ever invited" history while the derived total subtracts them. Rejoining reverses it; rejoining through a different invite moves the record to the new inviter. - Counts are stored persistently and republished to a leaderboard store after every change, which the dashboard and `/leaderboard invites` read. A reconciliation pass marks invitees who left the server and removes bot records, and Discord's invite uses are a fallback when tracked data is missing. ## Notes - The derived total is raw minus left and fake plus bonus, and switched off types drop out of it. Bonus invites are admin-granted from the dashboard and survive reconciliation. - Invite milestones are granted whenever a member's total changes and crosses a configured milestone, including dashboard edits. Each grant fires an `invite-milestone` custom event, and each detected fake join fires an `invite-fake` event - both available on the Events page with variables like `invites.total`, `milestone.invites` and `fake.reason`. - Milestone currency only applies while the Economy module is enabled, and milestone XP only while Levelling is enabled. The resolved inviter is also attached to join events, so welcome messages can reference who invited the new member.