add process listener

This commit is contained in:
loicbersier 2019-12-27 23:05:31 +01:00
parent 0d8565661d
commit 183630d23a

View file

@ -58,7 +58,8 @@ class hahaYesClient extends AkairoClient {
this.listenerHandler.setEmitters({
commandHandler: this.commandHandler,
inhibitorHandler: this.inhibitorHandler,
listenerHandler: this.listenerHandler
listenerHandler: this.listenerHandler,
process: process
});
this.commandHandler.useInhibitorHandler(this.inhibitorHandler);
@ -71,4 +72,4 @@ class hahaYesClient extends AkairoClient {
}
const client = new hahaYesClient();
client.login(token);
client.login(token);