From c5bf373a4366f377553c0adec6380bf895ad5480 Mon Sep 17 00:00:00 2001 From: jonah <73760377+jonerrr@users.noreply.github.com> Date: Tue, 11 Oct 2022 15:23:27 -0400 Subject: [PATCH] Request GUILDS intent even if not in classic mode (#317) * request guild intent even if not classic mode * fix formatting --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 8bb0180..8cb63fe 100644 --- a/app.js +++ b/app.js @@ -45,10 +45,10 @@ const esmBotVersion = JSON.parse(readFileSync(new URL("./package.json", import.m const intents = [ "GUILD_VOICE_STATES", - "DIRECT_MESSAGES" + "DIRECT_MESSAGES", + "GUILDS" ]; if (types.classic) { - intents.push("GUILDS"); intents.push("GUILD_MESSAGES"); intents.push("MESSAGE_CONTENT"); }