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