fixed message handling

This commit is contained in:
mmacierzanka committed 2021-08-08 01:49:35 +02:00
1 parent 060d69b250
commit 67a3f07a71
1 file changed
+3 -1
+3 -1
View File
@@ -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,