bot doesnt send anything when i send a command
i tried a ping command for my Xen bot and it doesnt send anything back not sure why i can send the code of index.js and messageCreate.js and see if yall know whats wrong in it
24 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.Do you have the
GuildMessages
and MessageContent
intents?yes
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
alr let me fix it and see if that works
now its showing this
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
im using v14
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i didnt its still the same
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i reverted back to gatewayintentbits and its says this aswell
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
they auto save
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
const client = new Client({
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
so take it out?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
alr
Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
If you are using the GuildMembers
, GuildPresences
, or MessageContent
intents, you need to enable them in the developer portal:
• Developer Portal > Your app > Bot > Privileged Gateway Intentsit works thanks forgot to say that