mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
fix(Presence): pass client and default to offline (#2071)
This commit is contained in:
@@ -19,7 +19,7 @@ class Presence {
|
||||
* * **`dnd`** - user is in Do Not Disturb
|
||||
* @type {string}
|
||||
*/
|
||||
this.status = data.status || this.status;
|
||||
this.status = data.status || this.status || 'offline';
|
||||
|
||||
const activity = data.game || data.activity;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user