From e4e7d6d9f790a9931d1978e22c91b9939214bd68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Serna?= Date: Mon, 4 Jul 2022 00:00:45 -0300 Subject: [PATCH] Update tests/mod.ts intents --- tests/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mod.ts b/tests/mod.ts index 03fd262..d1f7a69 100644 --- a/tests/mod.ts +++ b/tests/mod.ts @@ -7,7 +7,7 @@ if (!token) { throw new Error("Please provide a token"); } -const intents = GatewayIntents.MessageContent | GatewayIntents.Guilds | GatewayIntents.GuildMessages; +const intents = GatewayIntents.MessageContent | GatewayIntents.Guilds | GatewayIntents.GuildMessages | GatewayIntents.GuildMembers | GatewayIntents.GuildBans const session = new Session({ token, intents }); session.on("ready", (payload) => {