Any1 knows why usedInvite is always false?
This code runs every ready event: https://pastebin.com/Awhnep0C
This code runs every guildmemberadd event: https://pastebin.com/SAyNWuVV
3 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!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.Translation: don't make an invite tracker