Archived
fixed message handling
This commit is contained in:
1 parent
060d69b250
commit
67a3f07a71
1 file changed
+3
-1
+3
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user