mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
fix default presence
This commit is contained in:
parent
34ed3c6014
commit
f5ea673ebd
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ class GuildMember extends Base {
|
|||
* @readonly
|
||||
*/
|
||||
get presence() {
|
||||
return this.guild.presences.get(this.id) || new Presence(this.client);
|
||||
return this.guild.presences.get(this.id) || new Presence(this.client, { user: { id: this.id } });
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue