From b364d4a88640a0af3d3575cb2289da622cde036b Mon Sep 17 00:00:00 2001 From: nolan Date: Thu, 17 Jun 2021 22:56:41 -0700 Subject: [PATCH] Fix activity changing idk --- structure/client/DiscordClient.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/structure/client/DiscordClient.js b/structure/client/DiscordClient.js index b34e44f..329a0ba 100644 --- a/structure/client/DiscordClient.js +++ b/structure/client/DiscordClient.js @@ -54,7 +54,9 @@ class DiscordClient extends Client { this.once('ready', () => { this._setActivity(); - this.setInterval(this._setActivity, 1800000); // I think this is 30 minutes. I could be wrong. + setInterval(() => { + this._setActivity(); + }, 1800000); // I think this is 30 minutes. I could be wrong. }); }