Skip to content

Commit df2e96b

Browse files
committed
Use proper guild moderation event
1 parent 528a486 commit df2e96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/src/main/java/ml/duncte123/skybot/SkyBot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private SkyBot() throws LoginException {
105105
GatewayIntent.MESSAGE_CONTENT,
106106
GatewayIntent.GUILD_MEMBERS,
107107
GatewayIntent.GUILD_INVITES,
108-
GatewayIntent.GUILD_BANS,
108+
GatewayIntent.GUILD_MODERATION,
109109
GatewayIntent.GUILD_EMOJIS_AND_STICKERS,
110110
GatewayIntent.GUILD_VOICE_STATES,
111111
GatewayIntent.GUILD_MESSAGES

0 commit comments

Comments
 (0)