API Feature Request: Track invite used for MemberAdd event #6652
Unanswered
LawMixer
asked this question in
API Feature Requests & Ideas
Replies: 2 comments 4 replies
-
If we have an invite code, we could look it up in the |
Beta Was this translation helpful? Give feedback.
0 replies
-
This looks the same as #3210 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We recently got the endpoint for the
POST /guilds/:id/members-search
that got suggested here and I'm suggesting adding it to the gateway eventMemberAdd
, as on the rise of bots, raids, and all of the bad stuff that you don't want in your discord server. There's no way to track which invites were used for these people that come into your discord server, and for you or your moderators to take action.Another idea that this could be used for is rewarding users for inviting people, which is one of the common ways to gain members into your discord server.
An example of how you should implement it,
source_invite_code
will return the invite code if it is in cached (or whatever you want to call it), and then if it doesn't, it will return nullBeta Was this translation helpful? Give feedback.
All reactions