- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
✅Marked as resolved by OP
#When the bot is online and I try to use a command, it doesn't work and doesn't give me error message
29 messages · Page 1 of 1 (latest)
Use a proper paster. Not google docs
Version 16 exists for discord.js?
I thought 14 was latest
node is not djs
but yes, this is indeed worded incorrectly
excuse me, how could I do it as I'm not very practical
.
yes I was wrong
is this ok?
thats a non existent script
And i dont know where you got those html tags from
use a sourcebin or starbin
Just an irrelevant question, why aren't you using slash commands?
i'm already using them
Not a message slash command
The one registered in discord
Like this
i'll read it, but now can someone help me pls
Tag suggestion for @fast compass:
If you aren't getting content, embeds or attachments of a message, make sure you have the MessageContent intent enabled in the Developer Portal and provide it to your client:
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent]
});
is already enabled Message Content
Not in your code
how can i fix it? (i'm not very practical)
Creating Your Bot: Creating slash commands