From 0ad4a7b6a318d523bdd31481863192648d3ad1d3 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Thu, 25 Aug 2022 11:10:54 -0700 Subject: [PATCH] remove deprecated commands run count --- structures/QuarksBot.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/structures/QuarksBot.js b/structures/QuarksBot.js index 753021c..0589d4a 100644 --- a/structures/QuarksBot.js +++ b/structures/QuarksBot.js @@ -14,8 +14,7 @@ class QuarksBot extends Client { this.config = config; this.commands = new Collection(); this.logger = new Logger(path.join(__dirname, "..", "logs/Logs.log")); - this.commandsRun = 0; - + if (this.config.Token === "") return new TypeError( "The config.js is not filled out. Please make sure nothing is blank, otherwise the bot will not work properly." @@ -30,7 +29,6 @@ class QuarksBot extends Client { this.Ready = false; this.ws.on("INTERACTION_CREATE", async (interaction) => { - this.commandsRun++; const start = new Date().getTime(); if (interaction.type!=3) { client.log("Interaction")