#Message content doesn’t exist
1 messages · Page 1 of 1 (latest)
@bot.event
async def on_message_delete(msg):
await bot.get_channel(1036258732868370463).send(f"🗑 **Message Deleted** in <#{msg.channel.id}>\n{msg.content}")
print(msg.content)``` Why msg.content is blank, nothing gets printed or sent
You need to enable the message_content intent: https://docs.disnake.dev/en/stable/intents.html#why-do-most-messages-have-no-content
I have intents=disnake.Intents.default() in the bot though (and it’s enabled on the developer page)