Skip to content

Invite Manager

The Invite Manager keeps track of how many people each member has brought to your server. Invite rewards, invite contests, and knowing who grows your community all build on these numbers. iHorizon counts every join against the person whose invite link was used, and these commands let you look those numbers up and adjust them by hand when you need to.

How invites are counted

Each member's total is made of three numbers:

  • Regular → people who joined through one of their invite links.
  • Bonus → invites added or removed by hand by an administrator with /inv addinvites and /inv removeinvites.
  • Leaves → people they invited who left the server since. Each leave takes one invite off their total.

The invite count shown everywhere is the result: regular invites plus bonus, minus leaves.

iHorizon needs the Manage Server permission

Discord only shares invite usage with bots that have the Manage Server permission. Without it, iHorizon can't tell which link a newcomer used, so nobody gets credited and the join message isn't sent either.

Full guide

How the inviter is found, what kicks, leaves and rejoins do to the count, and members brought in by AuthRestore: Invites on arrival.

Tracking starts on its own as soon as iHorizon is in your server: there is nothing to enable. If iHorizon had no note of your invites' use counts yet (it was missing Manage Server or View Audit Log when it started), the next arrival is credited to nobody while it takes that note. To announce who invited each newcomer, use the {inviterUsername}, {inviterMention} and {invitesCount} variables in your join and leave messages (see /guildconfig set welcomer in Guild configuration). The default join message already does it:

iHorizonAPPToday at 16:48
@Nova (account created at 3 years ago) joined the guild. They were invited by kisakay (12 Invites), we are now 1285 members in My Server

A join message crediting the inviter.

Vanity links

When someone joins through your server's vanity URL, nobody is credited and the inviter shows as .gg/<your code>. If you use a discord.wf link created with /utils vanity-generator, the inviter shows as .wf/<your code>.

/inv

Subcommand for invites manager category!

Subcommands


/inv addinvites <member> <amount>

Add invites to a user!

Option Type Required Description Choices
member User Yes the member you want to add invites -
amount Number Yes Number of invites you want to add -

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Manually adds invites to a member's total, as bonus invites. Handy for rewarding someone, correcting a miscount, or handing out bonus invites during an event. The change is recorded in your iHorizon logs.


/inv leaderboard

Prefix+invites-leaderboardAliases+lb-invites, +invlb, +inviteslb

Show the guild invites's leaderboard!

Displays the server's invite ranking, from the members who invited the most people down, 10 per page with Previous and Next buttons when there are more. Each line details regular, bonus and left invites, and the card also tells you your own rank. Use it to see who is bringing in the most newcomers, or to run an invite competition.

/inv leaderboard
iHorizonAPPToday at 16:52
Invites leaderboard
2 ranked members in My Server
#1 @kisakay • Total 12
Regular 11 • Bonus 2 • Left 1
#2 @Mika • Total 5
Regular 6 • Bonus 0 • Left 1
Page 1/1 • Generated in 14 ms

The invite leaderboard. The first place gets a crown.


/inv invites [member]

Aliases+i, +invsee

Get the invites amount of a user!

Option Type Required Description Choices
member User No the member you want to show them invites -

Shows how many invites a member has, with the detail of regular, bonus and left invites, and who invited them. Leave the member option empty to check your own count, or pick someone to see theirs.

/inv invites
iHorizonAPPToday at 16:50
Invite stats
@kisakay
Total: 12
Regular: 11
Left: 1
Bonus: 2

/inv reset

Prefix+invites-resetAliases+inv-delete-all, +invreset

Delete all data of InviteManager in the guild

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Wipes all Invite Manager data for the server and sets everyone's count back to zero. This cannot be undone, so use it only when you want a fresh start, for example at the beginning of a new invite contest. iHorizon first asks for confirmation: click Delete all to proceed or Undo action to keep everything. The reset is recorded in your iHorizon logs.


/inv removeinvites <member> <amount>

Aliases+rinvites, +subinv

Remove invites from a user!

Option Type Required Description Choices
member User Yes the member you want to remove invites -
amount Number Yes Number of invites you want to substract -

Requires the Administrator permission

Only members with the Administrator permission can use this command.

Removes a number of invites from a member's total (taken from their bonus invites), the counterpart to addinvites. Useful when someone's invites were fake or need to be corrected. The change is recorded in your iHorizon logs.