forked from Supositware/Haha-Yes
16 lines
No EOL
355 B
JavaScript
16 lines
No EOL
355 B
JavaScript
const { Listener } = require('discord-akairo');
|
|
|
|
class UnhandledRejectionListener extends Listener {
|
|
constructor() {
|
|
super('unhandledRejection', {
|
|
eventName: 'unhandledRejection',
|
|
emitter: 'process'
|
|
});
|
|
}
|
|
|
|
exec(error) {
|
|
console.error(error);
|
|
}
|
|
}
|
|
|
|
module.exports = UnhandledRejectionListener; |