Change for Akairo V8
This commit is contained in:
parent
6218675e50
commit
40396fda66
5 changed files with 11 additions and 11 deletions
|
@ -4,7 +4,7 @@ class CommandBlockedListener extends Listener {
|
||||||
constructor() {
|
constructor() {
|
||||||
super('commandBlocked', {
|
super('commandBlocked', {
|
||||||
emitter: 'commandHandler',
|
emitter: 'commandHandler',
|
||||||
eventName: 'commandBlocked'
|
event: 'commandBlocked'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ class guildCreateListener extends Listener {
|
||||||
constructor() {
|
constructor() {
|
||||||
super('guildCreate', {
|
super('guildCreate', {
|
||||||
emitter: 'client',
|
emitter: 'client',
|
||||||
eventName: 'guildCreate'
|
event: 'guildCreate'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ class guildCreateListener extends Listener {
|
||||||
constructor() {
|
constructor() {
|
||||||
super('guildDelete', {
|
super('guildDelete', {
|
||||||
emitter: 'client',
|
emitter: 'client',
|
||||||
eventName: 'guildDelete'
|
event: 'guildDelete'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,11 @@ const reactObject = require('../json/react.json');
|
||||||
const imgResponseObject = require('../json/imgreply.json');
|
const imgResponseObject = require('../json/imgreply.json');
|
||||||
const reload = require('auto-reload');
|
const reload = require('auto-reload');
|
||||||
|
|
||||||
class MessageListener extends Listener {
|
class messageListener extends Listener {
|
||||||
constructor() {
|
constructor() {
|
||||||
super('message', {
|
super('message', {
|
||||||
emitter: 'client',
|
emitter: 'client',
|
||||||
eventName: 'message'
|
event: 'message'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,4 +49,4 @@ class MessageListener extends Listener {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = MessageListener;
|
module.exports = messageListener;
|
|
@ -6,7 +6,7 @@ class MessageReactionAddListener extends Listener {
|
||||||
constructor() {
|
constructor() {
|
||||||
super('messagereactionadd', {
|
super('messagereactionadd', {
|
||||||
emitter: 'client',
|
emitter: 'client',
|
||||||
eventName: 'messageReactionAdd'
|
event: 'messageReactionAdd'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue