From 47493ca29fe5c68f107b173d7ac99ff62cd4a262 Mon Sep 17 00:00:00 2001 From: GGORG <51029895+GGORG0@users.noreply.github.com> Date: Tue, 13 Jul 2021 20:51:44 +0000 Subject: [PATCH] fixed error in DiscordClient super() --- src/client/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/index.ts b/src/client/index.ts index 9ba56e9..47d387f 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -27,7 +27,7 @@ export default class DiscordClient extends Client { owners: Array; constructor() { - super(BOT_TOKEN); + super(BOT_TOKEN, null); this.api = new API(API_KEY); this.commands = new Map();