#Best way to know who invites who
1 messages · Page 1 of 1 (latest)
Discord doesn't provide this info at all.
What invite tracker bot do is:
- Get all invites
- Save the usage counts
- On join get all invites again
- Check which ones has the usage count changed
Ok thanks Lala, looking at the code that's what I was thinking of doing but I thought it was a bit dirty. Since my bot is attached to a database, I can do it.
But when someone leaves the server, how can I deduce that the original invitation has one less person?
imagination
nah you really have to build something yourself for that
have maybe two tables
one with invite infos, and one linked to the invites but with your own count
sure