Haha-Yes/event/listeners/commandfinish.js
2020-05-03 22:41:54 +02:00

16 lines
No EOL
322 B
JavaScript

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;