e.Message.Content == "" empty
See original GitHub issuehttps://www.youtube.com/watch?v=sPMw32ZGqX8
why e.message.content == ‘’ when i write ‘asdmslkadjsdak’ and etc
var discord = new DiscordClient(new DiscordConfiguration()
{
Token = a_hui_na,
TokenType = TokenType.Bot,
});
discord.MessageCreated += async (s, e) =>
{
Console.WriteLine(e.Message.Content);
if (e.Message.Content.ToLower().StartsWith("ping"))
await e.Message.RespondAsync("pong!");
};
await discord.ConnectAsync();
await Task.Delay(-1);
Issue Analytics
- State:
- Created 7 months ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
python - Pycord message.content is empty
I'm playing around with the Discord API and noticed that I can't access the content of a message. This is my code: import...
Read more >message.content is always empty? : r/Discord_Bots
OK so basically here's my code, when I print message.content to the console it always prints an empty string no matter what my...
Read more >Message.content is empty when it triggers from a server ...
This message has to be sent via a discord server text channel, it works perfectly fine in DMs. Check the string of Message.content...
Read more >Empty messages from discord - Repl.it Python Discord Bot
... and I'm having a weird error. It seems that the messages from discord are triggering the code, but there is nothing in...
Read more >Message Content Privileged Intent FAQ - Developers - Discord
MESSAGE CONTENT IS BECOMING A NEW PRIVILEGED INTENT ... the message object in Gateway and API payloads will be empty—either an empty string ......
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
maybe because im russian
Politics does not belong in this issue or this repository, please take this mindset somewhere else.