Skip to content

Commit

Permalink
Release 1.7.0
Browse files Browse the repository at this point in the history
= Updated Shard count.
  • Loading branch information
DxsSucuk committed Mar 29, 2022
1 parent 6cec8ba commit 55940f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/presti/ree6/bot/BotWorker.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static void createBot(BotVersion version1, String build1) throws LoginExc
state = BotState.INIT;
build = build1;

shardManager = DefaultShardManagerBuilder.createDefault(token).enableIntents(GatewayIntent.getIntents(GatewayIntent.ALL_INTENTS)).disableIntents(GatewayIntent.GUILD_PRESENCES).setMemberCachePolicy(MemberCachePolicy.ALL).disableCache(CacheFlag.EMOTE, CacheFlag.ACTIVITY).build();
shardManager = DefaultShardManagerBuilder.createDefault(token).setShardsTotal(10).enableIntents(GatewayIntent.getIntents(GatewayIntent.ALL_INTENTS)).disableIntents(GatewayIntent.GUILD_PRESENCES).setMemberCachePolicy(MemberCachePolicy.ALL).disableCache(CacheFlag.EMOTE, CacheFlag.ACTIVITY).build();
}

/**
Expand Down

0 comments on commit 55940f1

Please sign in to comment.