How is it possible that the Message's author is equivalent to null?
Error reffers to
Generated from
6 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Message#author is nullable since deleted messages are often partials, so you can't access all of their properties
Ok, thx. In this case we need doc's & Message type update
What specific DJS version are you using? The docs say it's ?User
Ok, the docs say its
?User
. I didn't notice thatuse PartialMessage type instead, there has just been a similar question in #djs-help-v14
If you dont enable Message partial, it will always be a Message instance