This commit is contained in:
Elysia 2024-01-14 09:17:09 +07:00
parent 39a74b22dc
commit f5e7dea9cf
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ class ClientUser extends User {
* @typedef {Object} PresenceData * @typedef {Object} PresenceData
* @property {PresenceStatusData} [status] Status of the user * @property {PresenceStatusData} [status] Status of the user
* @property {boolean} [afk] Whether the user is AFK * @property {boolean} [afk] Whether the user is AFK
* @property {(ActivitiesOptions|CustomStatus|RichPresence|SpotifyRPC)[]} [activities] Activity the user is playing * @property {ActivitiesOptions[]|CustomStatus[]|RichPresence[]|SpotifyRPC[]} [activities] Activity the user is playing
* @property {number|number[]} [shardId] Shard id(s) to have the activity set on * @property {number|number[]} [shardId] Shard id(s) to have the activity set on
*/ */

View File

@ -91,7 +91,7 @@ class Presence extends Base {
if ('activities' in data) { if ('activities' in data) {
/** /**
* The activities of this presence * The activities of this presence
* @type {(Activity|CustomStatus|SpotifyRPC|RichPresence)[]} * @type {Activity[]|CustomStatus[]|RichPresence[]|SpotifyRPC[]}
*/ */
this.activities = data.activities.map(activity => { this.activities = data.activities.map(activity => {
if (fromClient === true) { if (fromClient === true) {