From 044062c259d7ed9b45f914d91a276a33baa24496 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sat, 11 Jul 2020 20:26:45 +0200 Subject: [PATCH] Remove console.time thigny as it was not what i wanted anyway --- event/listeners/commandfinish.js | 16 ---------------- event/listeners/commandstarted.js | 2 -- 2 files changed, 18 deletions(-) delete mode 100644 event/listeners/commandfinish.js diff --git a/event/listeners/commandfinish.js b/event/listeners/commandfinish.js deleted file mode 100644 index 0b9cbeb2..00000000 --- a/event/listeners/commandfinish.js +++ /dev/null @@ -1,16 +0,0 @@ -const { Listener } = require('discord-akairo'); - -class commandFinishedListener extends Listener { - constructor() { - super('commandFinished', { - emitter: 'commandHandler', - event: 'commandFinished' - }); - } - - async exec(message, command) { - console.timeEnd(command.id); - } -} - -module.exports = commandFinishedListener; \ No newline at end of file diff --git a/event/listeners/commandstarted.js b/event/listeners/commandstarted.js index 90249c2d..5c8b9949 100644 --- a/event/listeners/commandstarted.js +++ b/event/listeners/commandstarted.js @@ -13,8 +13,6 @@ class commandStartedListener extends Listener { } async exec(message, command) { - console.time(command.id); - //This is for april fools let today = new Date(), lastUpdate;