From 04fc7a91364d4ce62791aa06b4ebacba214b244a Mon Sep 17 00:00:00 2001 From: Ninjdai1 Date: Mon, 4 Sep 2023 00:26:13 +0200 Subject: [PATCH] Update deprecated Gateway Intent --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3c471cb..afb2423 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,7 @@ const client = new Client({ intents: [ GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, - GatewayIntentBits.GuildBans, + GatewayIntentBits.GuildModeration, GatewayIntentBits.GuildMessages ] });