Issues with message.author randomly returning undefined #10167
Replies: 1 comment
-
You are opting into receiving partial message data. If the message is not cached, there is no way to retrieve the missing data (usually |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which package is this bug report for?
discord.js
Issue description
During the MessageDelete event message.author is for what ever reason coming back undefined and it makes no sense why a message would have no author for some, but other deleted messages still have it. It seems to be related to when the bot starts and when the message is originally sent.
Steps to reproduce:
I see no reason why this should be happening with messages sent prior to the bot being started.
Code sample
Versions
Version of discord.js: [email protected]
Issue priority
Low (slightly annoying)
Which partials do you have configured?
User, Channel, GuildMember, Message, Reaction
Which gateway intents are you subscribing to?
Guilds, GuildMessages, GuildMessageReactions, MessageContent
I have tested this issue on a development release
No response
Beta Was this translation helpful? Give feedback.
All reactions