Confused About Discord Invites: Are They Always Linked to the Original Creator?
I’m trying to understand how Discord invite links work ?
Specifically:
- Is each generated invite code always linked to the user who originally created it?
- Does users can generate the same link ?
- Can a code be shared around by multiple people, and does Discord still store the first user who made it?
For example in this snippet, why does the code look for
uses
differences
Tracking Used Invited4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!I think I get it
https://discord.com/channels/222078108977594368/824411059443204127/1234073444702879854
This message help me to understand a bit more about how works invite ahah
It's simple but yeah...
The key part of making an invite tracker is to keep count of 'uses'
Discord does not provide the invite that a member used to join through the bot API.
- Tracking the uses of invites through the
inviteCreate
and guildMemberAdd
events is unreliable and we recommend against it.
- Discord has not shared any plans to make the members tab available for bots.yeah the user stored along with the invite never changes, it's the user that created the invite