Haha-Yes/event/listeners/commandfinish.js

16 lines
322 B
JavaScript
Raw Normal View History

2020-05-03 22:41:54 +02:00
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;