Skip to content

Commit

Permalink
Fix activityType (#199)
Browse files Browse the repository at this point in the history
* Fix activityType

* Revert "Fix activityType"

This reverts commit 58455f6.

* Fix activityType and status
  • Loading branch information
Bygrilinho authored Nov 30, 2022
1 parent 36a55a2 commit 9dd09f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ client.once('ready', async () => {

client.on('ready', function() {
client.user.setPresence({
activities: [{ name: config.activity, type: config.activityType }],
status: 'Playing music',
activities: [{ name: config.activity, type: Number(config.activityType) }],
status: Discord.PresenceUpdateStatus.Online,
});
});

Expand Down

0 comments on commit 9dd09f8

Please sign in to comment.