Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up to date #1

Merged
merged 6 commits into from
Mar 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix activityType (TannerGabriel#199)
* Fix activityType

* Revert "Fix activityType"

This reverts commit 58455f6.

* Fix activityType and status
  • Loading branch information
Bygrilinho authored Nov 30, 2022
commit 9dd09f83c5c1e4d0540afcf80492625fb21b33aa
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