From 67a3f07a71b7f35278aaae455e398e95954e5f6c Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Sun, 8 Aug 2021 01:49:35 +0200 Subject: [PATCH] fixed message handling --- src/Bot.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Bot.ts b/src/Bot.ts index 3c15f54..e5213fa 100644 --- a/src/Bot.ts +++ b/src/Bot.ts @@ -59,7 +59,9 @@ export class Bot extends EventEmitter { super(); this.name = options.name; this.client = new Client( - options.clientOptions || { intents: Intents.FLAGS.GUILDS } + options.clientOptions || { + intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES], + } ); this.commands = new CommandManager( options.prefix,