From 208e2b8d8f5e178b1c2894109adba9440f6e42cb Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Sun, 24 Oct 2021 15:32:29 +0200 Subject: [PATCH] =?UTF-8?q?glob=C3=A1ln=C3=AD=20klient?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 1038efa..d6c6e1e 100644 --- a/index.js +++ b/index.js @@ -25,6 +25,8 @@ const client = new Commando.Client({ } }); +global.client = client; + client.on("commandError", (c, e) => { console.error(e); });