#Webhook message doesn't shows up as blank when doing console.log(message.content)
11 messages · Page 1 of 1 (latest)
v18.14.1
Need to enable the message content intent in the 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]
});
They’re on v13
I actually did, sorry for not including it on the post
const client = new Client({
intents: [
IntentsBitField.Flags.Guilds,
IntentsBitField.Flags.GuildMessages,
IntentsBitField.Flags.GuildWebhooks,
IntentsBitField.Flags.MessageContent,
],
});
it can't read webhooks or something
maybe it's because of their format (The webhook is made up by an antire body full of different images and texts)
I don't know, maybe it's the embed