diff --git a/src/main/java/net/discordjug/javabot/SpringConfig.java b/src/main/java/net/discordjug/javabot/SpringConfig.java index 1faae73d5..1a5168a47 100644 --- a/src/main/java/net/discordjug/javabot/SpringConfig.java +++ b/src/main/java/net/discordjug/javabot/SpringConfig.java @@ -70,8 +70,8 @@ JDA jda(BotConfig botConfig, ApplicationContext ctx) { return JDABuilder.createDefault(botConfig.getSystems().getJdaBotToken()) .setStatus(OnlineStatus.DO_NOT_DISTURB) .setChunkingFilter(ChunkingFilter.ALL) - .setMemberCachePolicy(MemberCachePolicy.NONE) - .enableCache(CacheFlag.ACTIVITY) + .setMemberCachePolicy(MemberCachePolicy.VOICE) + .enableCache(CacheFlag.ACTIVITY, CacheFlag.VOICE_STATE) .enableIntents(GatewayIntent.GUILD_MEMBERS, GatewayIntent.GUILD_PRESENCES, GatewayIntent.MESSAGE_CONTENT) .addEventListeners(listeners.toArray()) .build();