Request GUILDS intent even if not in classic mode (#317)
* request guild intent even if not classic mode * fix formatting
This commit is contained in:
parent
9ce4b470da
commit
c5bf373a43
1 changed files with 2 additions and 2 deletions
4
app.js
4
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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue