From 5b5f2bfb23080e57ea4945f356ca755cb5fd893e Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 17 Jun 2020 15:44:25 +0200 Subject: [PATCH] fix owner status --- event/listeners/ready.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event/listeners/ready.js b/event/listeners/ready.js index b701e531..6d71b4d4 100644 --- a/event/listeners/ready.js +++ b/event/listeners/ready.js @@ -66,9 +66,9 @@ class ReadyListener extends Listener { let diffMs = (new Date() - owner.presence.activities[0].timestamps.start); diffMins = Math.round(((diffMs % 86400000) % 3600000) / 60000); } - } - client.user.setActivity(`${owner.presence.activities[0].name}\nfor ${diffMins} minutes | My prefix is: ${prefix[0]}`, owner.presence.activities[0]); + client.user.setActivity(`${owner.presence.activities[0].name}\nfor ${diffMins} minutes | My prefix is: ${prefix[0]}`, owner.presence.activities[0]); + } } }