#Bot message content not detected?
1 messages · Page 1 of 1 (latest)
Bot message content not detected?
Here is the code I wrote
Here is the bot working as it should:
Here is what it does now:
The bot should take the following message:
Hello, this is a quote #203
And embed it correctly and display the quote number and message content
And it also makes it italic
Hello user! Yes, I did read that but it says for verified bots only
But my bot is not verified at all
😦
Your unverified bot still needs to enable the privileged intent in dev portal
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]
});