forked from Supositware/Haha-Yes
16 lines
No EOL
322 B
JavaScript
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; |