From 9dd09f83c5c1e4d0540afcf80492625fb21b33aa Mon Sep 17 00:00:00 2001 From: Bygrilinho <20670349+Bygrilinho@users.noreply.github.com> Date: Wed, 30 Nov 2022 14:48:09 -0300 Subject: [PATCH] Fix activityType (#199) * Fix activityType * Revert "Fix activityType" This reverts commit 58455f6fd16d28a30aa24ab3418b8071d1072ffe. * Fix activityType and status --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 05bd1eb9..c26b6bf6 100644 --- a/index.js +++ b/index.js @@ -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, }); });