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