Why is my number of emoji inaccurate?
im trying to count the number of emoji on my server
its telling me i have 49.
but looking at my server settings, the emoji says theres 3 empty slots, so there's 47 emoji.
why do these numbers not match.
I looked everywhere but it seems this is the only way to get the number of empty emoji slots from the API (and unforuntately it doesn't seem to work)
4 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!
- ✅
Marked as resolved by OP[email protected]
node v16.17.0
server has 1 free emoji slots { premiumTier: 0, totalEmojiSlots: 50, usedEmojiSlots: 49 }
yeah it's triggering from a command, using await checkIfServerHasFreeEmojiSlots(interaction.guild);
oh that might be it, lemme seeyup you got it. I'll have to filter those out
thanks!