Update Presence.js

This commit is contained in:
Sans
2024-08-21 01:49:03 +02:00
committed by GitHub
parent 0d86b712b9
commit f26ec5a086

View File

@@ -650,7 +650,7 @@ class CustomStatus extends Activity {
constructor(client, data = {}) { constructor(client, data = {}) {
if (!client) throw new Error("Class constructor CustomStatus cannot be invoked without 'client'"); if (!client) throw new Error("Class constructor CustomStatus cannot be invoked without 'client'");
super('presence' in client ? client.presence : client, { super('presence' in client ? client.presence : client, {
name: 'Custom Status', name: ' ',
type: ActivityTypes.CUSTOM, type: ActivityTypes.CUSTOM,
...data, ...data,
}); });