How do I check the bot's permissions?
Hello everyone I'm trying to make a check for the bot, whether it has such permissions, but when output knocks out the error "permissions"
9 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
RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined
• All SCREAMING_SNAKE_CASE
enums have been changed to PascalCase
• Intents: Intents.FLAGS.GUILD_MESSAGES
-> GatewayIntentBits.GuildMessages
• Permissions: Permissions.FLAGS.SEND_MESSAGES
-> PermissionFlagsBits.SendMessages
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I'll try
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Thank you very much, otherwise I've been racking my head for a long time <:love_Dva:1044602790703538266>