How do I limit the number of roles that guild.roles.cache shows (It crashes bot)
28 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.^14.11.0
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
after a certain amount of roles in the discord server it crashes
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
How would I do that though?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
alright
thanks
No, I want to limit it to so only some of the roles and then say "and [number more...]
Similar to this
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah server info
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
huh?
im confused now
what should i do different
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
alright
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
this is mine
this is what i want to do
so it cuts it off after a certain amount of roles, and then says "and 23 more" or how ever many more roles there are
basically limiting it so it doesnt break the command
gotcha
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
alright thank you guys