discordjs / guide

The official guide for discord.js, created and maintained by core members of its community.
https://discordjs.guide
MIT License
1.57k stars 2.31k forks source link

Track Invite Codes and What Codes Members use to Join #484

Closed AtaraxiaCodes closed 4 years ago

AtaraxiaCodes commented 4 years ago

Perhaps make a guide on how to track the invite codes that a certain server has and what codes members use to join the server. This could be useful if you want to make an invite manager bot or if you wanted to award a role to people who use a certain invite (the project that I’m working on!).

anandre commented 4 years ago

An Idiot's Guide has a pretty well-written page on this topic, and the pitfalls of such a system. Discord doesn't provide the data in a clear manner, making it really difficult to effectively implement.

almostSouji commented 4 years ago

unless discord at some point provides the data required to do this cleanly and reliably this will not be added.