fix intent
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 45s

This commit is contained in:
Lee 2024-07-05 19:35:33 +01:00
parent 0b09b8ba5f
commit 5b917af1ca

@ -51,14 +51,14 @@ public class DiscordService {
GatewayIntent.MESSAGE_CONTENT,
GatewayIntent.GUILD_MEMBERS,
GatewayIntent.GUILD_EMOJIS_AND_STICKERS,
GatewayIntent.GUILD_PRESENCES,
GatewayIntent.GUILD_VOICE_STATES,
GatewayIntent.GUILD_INVITES
))
.disableCache(
CacheFlag.ACTIVITY,
CacheFlag.CLIENT_STATUS,
CacheFlag.SCHEDULED_EVENTS
CacheFlag.SCHEDULED_EVENTS,
CacheFlag.ONLINE_STATUS
).build()
.awaitReady();
log.info("Connected to Discord as {}", JDA.getSelfUser().getEffectiveName());