Add extra cache flags

java-rewrite
Hammy 3 years ago
parent 4cc6c69040
commit d7ebb96499

@ -60,7 +60,12 @@ public class BotConfig {
GatewayIntent.GUILD_MESSAGE_REACTIONS GatewayIntent.GUILD_MESSAGE_REACTIONS
) )
) )
.enableCache(CacheFlag.VOICE_STATE) .enableCache(
CacheFlag.ONLINE_STATUS,
CacheFlag.VOICE_STATE,
CacheFlag.EMOTE,
CacheFlag.ACTIVITY
)
.build() .build()
.awaitReady(); .awaitReady();
} }

Loading…
Cancel
Save