commit | 02ba02369855596e8d1bdd70461c2f625e637896 | [log] [tgz] |
---|---|---|
author | pineafan <pineapplefanyt@gmail.com> | Sun Jul 24 22:16:15 2022 +0100 |
committer | pineafan <pineapplefanyt@gmail.com> | Sun Jul 24 22:16:15 2022 +0100 |
tree | 8e795c28a66135ea836be606d07c578683a817b4 | |
parent | 813bdf45f3ae6f8815593576a4f0a6685f1dd2f3 [diff] [blame] |
stats channels
diff --git a/src/index.ts b/src/index.ts index 0ae917c..5f5987e 100644 --- a/src/index.ts +++ b/src/index.ts
@@ -11,6 +11,9 @@ client.on("ready", () => { runServer(client); }); +process.on("unhandledRejection", (err) => { + console.error(err); +}); client.logger = new Logger() client.verify = {}