Error from guilds flags (?)
idk why, im still learning yk w a video JS and the how to code a bot, and i just followed every steps into that, to get an error then paste the github for finaly just got the same error
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.
- Issue solved? Press the button!Computeshorts
YouTube
Learn Discord JS in 15 min
Creating a discord bot is easier than you think especially with the introduction of discord js. Now anyone with basic Javascript knowledge can create their very own discord bot quickly.
👕 BEST MERCH - https://computeshorts.creator-spring.com/
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
All of the code is a...
myy node version is => v18.16.0
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
thanks
i didnt know it was outdated
do you know an video guide not outdated
Under Ctrl
YouTube
How to make a Discord Bot for Beginners (Discord.js v14)
How to make a Discord Bot for Beginners (Discord.js v14)
🌐 Important links:
Discord Developer Portal: https://discord.com/developers/applications
Discord.js official website: https://discord.js.org
Discord Intents List: https://discord.com/developers/docs/topics/gateway#list-of-intents
🎵 Music Credits:
Track Name: "Blue Boi"
Music By: LAKEY I...
this one js good ?
ye but sometimes i dont really get whats they tryna say in just text idk i learn more efficiently w sound yk but imma try anyway