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
d.js toolkit
d.js toolkit2mo ago
- 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!
d.js docs
d.js docs2mo ago
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.
Steve
Steve2mo ago
Translation: don't make an invite tracker
Want results from more Discord servers?
Add your server