From 1f189c4a8f069f0ed91b94a99335c560480f8a02 Mon Sep 17 00:00:00 2001 From: femshima <49227365+femshima@users.noreply.github.com> Date: Fri, 20 Oct 2023 18:59:10 +0900 Subject: [PATCH] add missing intents --- src/main.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 7da30320..2707b2b7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,7 +4,12 @@ import * as leave from "./commands/leave"; import { ReplyableError } from "./error"; const client = new Client({ - intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages], + intents: [ + GatewayIntentBits.Guilds, + GatewayIntentBits.GuildMessages, + GatewayIntentBits.GuildVoiceStates, + GatewayIntentBits.MessageContent, + ], }); client.on(Events.InteractionCreate, async (interaction) => {