forked from Supositware/Haha-Yes
add process listener
This commit is contained in:
parent
0d8565661d
commit
183630d23a
1 changed files with 3 additions and 2 deletions
5
index.js
5
index.js
|
@ -58,7 +58,8 @@ class hahaYesClient extends AkairoClient {
|
||||||
this.listenerHandler.setEmitters({
|
this.listenerHandler.setEmitters({
|
||||||
commandHandler: this.commandHandler,
|
commandHandler: this.commandHandler,
|
||||||
inhibitorHandler: this.inhibitorHandler,
|
inhibitorHandler: this.inhibitorHandler,
|
||||||
listenerHandler: this.listenerHandler
|
listenerHandler: this.listenerHandler,
|
||||||
|
process: process
|
||||||
});
|
});
|
||||||
|
|
||||||
this.commandHandler.useInhibitorHandler(this.inhibitorHandler);
|
this.commandHandler.useInhibitorHandler(this.inhibitorHandler);
|
||||||
|
@ -71,4 +72,4 @@ class hahaYesClient extends AkairoClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
const client = new hahaYesClient();
|
const client = new hahaYesClient();
|
||||||
client.login(token);
|
client.login(token);
|
||||||
|
|
Loading…
Reference in a new issue