How to detect if a string is a snowflake and check what type of snowflake it is?
I've been doing this but i want to know if there is an easier way
7 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
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok
do i have to provide a string shown in the example, or can i use a variable such as
snowflake
to get the object like normalyou should probably learn how variables work in javascript
i do know how they work, it's just for looking to see if a user had a role you needed to provide a string and not a variable that stores a string
thanks anyways