Closed mcg88 closed 3 years ago
I have the same issue. No content from discord
message.content
can be blank if the message doesn't feature any content, eg when the message is exclusively an embed.
Same issue but with message.embeds
message.content
can be blank if the message doesn't feature any content, eg when the message is exclusively an embed.
Yes, I realize that but in my case this applies to all messages coming through the stream not exclusively embeds or any other message type that would cause the content to be blank. Pure text content is missing
Can you print(repr(message))
?
<Message id=837697805711441922 channel=<TextChannel id=697135489484062762 name='t_chat' position=27 nsfw=True news=False category_id=666511732570718209> type=<MessageType.default: 0> author=<Member id=773294873422856202 name='LVP' discriminator='0899' bot=False nick=None guild=<Guild id=428232997737594901 name='AT' shard_id=None chunked=False member_count=212629>> flags=<MessageFlags value=0>>
Recently started having a similar issue but with embeds as well.
Having a similar issue, except I can get the message content from my own messages, nobody else's
Having the same issue. Message.content and message.embeds is empty. please help
@rekeshali is correct. only works on my messages
Can anyone reproduce this on actual bots (not on user-account bots/"selfbots")?
Judging from the comments and the parent issue this seems to only affect self-bots. Self-bots are deprecated and unsupported in v1.7. They are getting removed in v2.0. If this issue can be reproduced with a real bot account then I would have heard about it from official sources and other libraries, but since I haven't I'm assuming this doesn't apply to real bots.
Summary
missing data from discord
Reproduction Steps
Running the code snippet below just prints blanks across multiple servers I've tried
Minimal Reproducible Code
Expected Results
should print message
Actual Results
blank
Intents
bot=false
System Information
Checklist
Additional Context
No response