forked from Supositware/Haha-Yes
Remove console.time thigny as it was not what i wanted anyway
This commit is contained in:
parent
337efe965c
commit
044062c259
2 changed files with 0 additions and 18 deletions
|
@ -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;
|
|
|
@ -13,8 +13,6 @@ class commandStartedListener extends Listener {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, command) {
|
async exec(message, command) {
|
||||||
console.time(command.id);
|
|
||||||
|
|
||||||
//This is for april fools
|
//This is for april fools
|
||||||
let today = new Date(), lastUpdate;
|
let today = new Date(), lastUpdate;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue