From cf0348953beed229a880f14a4f8400bbc2d878e8 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Wed, 24 May 2023 11:18:52 +0800 Subject: [PATCH] chore: migrate to newer intents --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5a657e6..274a0d3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,7 +32,7 @@ const client = new Client({ GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildPresences, GatewayIntentBits.GuildMessageReactions, - GatewayIntentBits.GuildBans, + GatewayIntentBits.GuildModeration, ], partials: [Partials.Channel], });