Update deprecated DiscordGatewayIntent

This commit is contained in:
Vankka 2023-05-19 18:34:08 +03:00
parent 455065087c
commit 2e2c1667eb
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -29,7 +29,7 @@ import net.dv8tion.jda.api.requests.GatewayIntent;
public enum DiscordGatewayIntent implements JDAEntity<GatewayIntent> {
GUILD_MEMBERS(GatewayIntent.GUILD_MEMBERS, "Server Members Intent"),
GUILD_BANS(GatewayIntent.GUILD_BANS),
GUILD_MODERATION(GatewayIntent.GUILD_MODERATION),
GUILD_EMOJIS_AND_STICKERS(GatewayIntent.GUILD_EMOJIS_AND_STICKERS),
GUILD_WEBHOOKS(GatewayIntent.GUILD_WEBHOOKS),
GUILD_INVITES(GatewayIntent.GUILD_INVITES),