[Bug]: SocketMessage.Content is empty
See original GitHub issueCheck The Docs
- I double checked the docs and couldn’t find any useful information.
Verify Issue Source
- I verified the issue was caused by Discord.Net.
Check your intents
- I double checked that I have the required intents.
Description
After updating to 3.8.1 or later, SocketMessage.Content is empty. With 3.8.0 or earlier, SocketMessage.Content is populated correctly.
Version
3.8.1
Working Version
3.8.0
Logs
n/a
Sample
private DiscordSocketClient _client;
public void Run()
{
_client = new DiscordSocketClient(new DiscordSocketConfig
{
AlwaysDownloadUsers = true,
LogLevel = LogSeverity.Debug
});
await _client.LoginAsync(TokenType.Bot, "secret");
await _client.StartAsync();
_client.MessageReceived += ProcessMessage;
await Task.Delay(-1);
}
public void ProcessMessage(SocketMessage message)
{
// message.Content is empty here
}
Packages
n/a
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
SocketMessage Content is empty : r/Discord_Bots
i'm trying to dev a discord bot in c# that reads messages from a specific channel.The SocketMessage object contains infos like author channel ......
Read more >Discord.Net Received Message Content always Empty
1 Answer. If you haven't already, enable "Message Content Intent" in the Discord developer portal and add the MessageContent intent to the ...
Read more >message.content blank · Issue #6820 · Rapptz/discord.py
message.content can be blank if the message doesn't feature any content, eg when the message is exclusively an embed.
Read more >MessageCreate.Content is empty · Issue #961
This is a change on Discords side, not entirely sure what it is, but it only impacts Self bots (fixed by adding bot...
Read more >Logs flooded with "Error App: Error sending socket message"
Since I installed Wireguard on my raspberry pi4, where I have emby server runnin, I got the logs flooded with: 2021-09-15 00:01:03.504 Error...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Duplicate #2499, #2482, #2470
Closing due to duplicate + solved