From 183630d23a867a6c0c610f700cb5c6cb96db8327 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 27 Dec 2019 23:05:31 +0100 Subject: [PATCH] add process listener --- index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index ad06745..95447cc 100644 --- a/index.js +++ b/index.js @@ -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); \ No newline at end of file +client.login(token);