Server configuration | Automation

Invite Tracking

See who brought each member in and rank your inviters.


Setting it up

greed matches every join to the invite that was used. It's on by default for servers with 250 or more members, and greed needs Manage Server to read your invites.

Syntax
/config server invites
The invite tracking settings with tracking on and an announcement channel
  • Enabled turns tracking on or off. Your counts are kept.
  • Announcement channel posts each join with the inviter's new total, without pinging.
  • Fake account age (days) sets how new an account must be to count as fake. 0 counts none as fake.
  • Deduct leaves takes the invite back when a member leaves.
  • Reset invite counts wipes the server's history.

Checking invites

Syntax
/invites view user:[member]
/invites leaderboard
/invites who user:(member)
greed saying mira was invited by kai

How the counts work

Each inviter's total is joined − left − fake + bonus. Bonus is given or taken by staff. A member who leaves and rejoins counts once, and there's no history from before tracking was on.

  • If two different codes are used at the same moment, those joins are recorded as unknown rather than guessed.
  • Joins through your vanity link count toward totals but have no inviter.
  • One-use invites are still credited after they vanish.
  • A member who rejoins on a different code is credited to whoever brought them back.

Using the inviter in your messages

Your welcome and goodbye messages can name the inviter.

Example
Welcome {user.mention}, invited by {inviter.mention}. That's {inviter.invites} invites!

{inviter.mention} {inviter.name} {inviter.display_name} {inviter.avatar} {inviter.id} {inviter.invites} {invite.code} {invite.url} {invite.uses} {invite.kind}

{inviter.*} works like {user.*} and is empty when there's no inviter. {invite.kind} is regular, fake, vanity or unknown.

Counts, the leaderboard, lookups and join announcements are free. Server Premium adds a per-code breakdown, bonus invites and the invite workflow trigger.

These need Manage Server:

  • @greed invites enable, disable or toggle
  • @greed invites channel [channel] and invites fake (days)
  • @greed invites deduct (on or off) and invites config
  • @greed invites bonus add (member) (amount) and bonus remove (Server Premium)
  • @greed invites codes [member] (Server Premium)
  • @greed invites reset [member]
  • @greed invites variables