mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Message#member should be a nullable. (#1205)
This commit is contained in:
parent
1273bb42ec
commit
d870b27ece
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class Message {
|
|||
/**
|
||||
* Represents the author of the message as a guild member. Only available if the message comes from a guild
|
||||
* where the author is still a member.
|
||||
* @type {GuildMember}
|
||||
* @type {?GuildMember}
|
||||
*/
|
||||
this.member = this.guild ? this.guild.member(this.author) || null : null;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue