Remove Guild#member (#4890)

This commit is contained in:
anandre
2020-11-22 12:21:01 -06:00
committed by GitHub
parent 4b555fdf4c
commit 8c8883ef26
8 changed files with 8 additions and 20 deletions

View File

@@ -284,7 +284,7 @@ class Message extends Base {
* @readonly
*/
get member() {
return this.guild ? this.guild.member(this.author) || null : null;
return this.guild ? this.guild.members.resolve(this.author) || null : null;
}
/**