Why is message.content None or empty?
Official docs: https://docs.nextcord.dev/en/latest/intents.html#what-happened-to-my-prefix-commands
Content fields: .content, .embeds, .attachments, .components
Discord recently introduced another intent to annoy everyone limit the usage of message contents for bots. You now need to explicitly enable this intent (message_content) to get the "Content fields"
How to enable it?
It's like how you enable the members or presences intents.
You need to enable it on the portal! and in code:
from nextcord import Intents
my_intents = Intents.default()
my_intents.message_content = True
bot = commands.Bot(..., intents=my_intents)
I don't want to enable it!
k. You don't need to, you can still get the "Content fields" from messages in dms, where your bot is mentioned in and messages from your bot.
but I use slash commands?
Good choice! You do not need this intent for slash commands, it is required for text commands.