remove deprecated commands run count

This commit is contained in:
SowinskiBraeden committed 2022-08-25 11:10:54 -07:00
1 parent 7996c6261d
commit 0ad4a7b6a3
1 file changed
+1 -3
+1 -3
View File
@@ -14,8 +14,7 @@ class QuarksBot extends Client {
this.config = config; this.config = config;
this.commands = new Collection(); this.commands = new Collection();
this.logger = new Logger(path.join(__dirname, "..", "logs/Logs.log")); this.logger = new Logger(path.join(__dirname, "..", "logs/Logs.log"));
this.commandsRun = 0;
if (this.config.Token === "") if (this.config.Token === "")
return new TypeError( return new TypeError(
"The config.js is not filled out. Please make sure nothing is blank, otherwise the bot will not work properly." "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.Ready = false;
this.ws.on("INTERACTION_CREATE", async (interaction) => { this.ws.on("INTERACTION_CREATE", async (interaction) => {
this.commandsRun++;
const start = new Date().getTime(); const start = new Date().getTime();
if (interaction.type!=3) { if (interaction.type!=3) {
client.log("Interaction") client.log("Interaction")