Update ClientUserSettingManager.js

This commit is contained in:
Elysia 2024-01-24 18:18:32 +07:00
parent ae25ab6941
commit 7304cb71b4

View File

@ -179,7 +179,7 @@ class ClientUserSettingManager extends BaseManager {
if ('status' in data) {
this.client.presence.status = data.status;
if (!('custom_status' in data)) {
this.client.emit('debug', '[SETTING] Sync status');
this.client.emit('debug', '[SETTING > ClientUser] Sync status');
this.client.user.setStatus(data.status);
}
}
@ -200,7 +200,7 @@ class ClientUserSettingManager extends BaseManager {
if (emoji) custom.setEmoji(emoji);
activities.push(custom);
}
this.client.emit('debug', '[SETTING] Sync activities & status');
this.client.emit('debug', '[SETTING > ClientUser] Sync activities & status');
this.client.user.setPresence({ activities });
}
if ('friend_source_flags' in data) {