Skip to content

Commit

Permalink
fix: add to map
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 authored and Jiralite committed Aug 12, 2023
1 parent 8d36759 commit 57292e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/discord.js/src/structures/ClientPresence.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class ClientPresence extends Presence {
data.activities.push(
...this.activities.map(a => ({
name: a.name,
state: a.state ?? undefined,
type: a.type,
url: a.url ?? undefined,
})),
Expand Down

0 comments on commit 57292e8

Please sign in to comment.