remove deprecated commands run count
This commit is contained in:
1 file changed
+1
-3
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user