14 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
:/
im
stupid
where does the number come rom thou
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
wait
it worked for emoji ids thou
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
• Discord ids follow the snowflake format: learn more
• Discord ids must be represented as strings as they are larger than
Number.MAX_SAFE_INTEGER
, the largest integer that can be represented in JavaScript
huh
well why is this happening



im getting the interaction's customID
which is the same as the roleID's var name but lower case
you're uppercasing your value, but as far as i can see your json keys are lowercase
i changed em
all of em are upper now
but why are they undefined?
how do you import your ROLE_IDS
yeah