Better code yk

This commit is contained in:
GregTCLTK 2020-05-13 11:47:55 +02:00
parent dfa7c58942
commit 11fb585997
No known key found for this signature in database
GPG key ID: A91BADE5C070FF67

View file

@ -52,7 +52,7 @@ public class Hadder {
Rethink rethink = new Rethink(config);
rethink.connect();
DefaultShardManagerBuilder builder = DefaultShardManagerBuilder.create(GatewayIntent.GUILD_MEMBERS, GatewayIntent.DIRECT_MESSAGE_REACTIONS, GatewayIntent.GUILD_PRESENCES, GatewayIntent.GUILD_VOICE_STATES, GatewayIntent.GUILD_EMOJIS, GatewayIntent.GUILD_MESSAGES);
DefaultShardManagerBuilder builder = DefaultShardManagerBuilder.create(GatewayIntent.getIntents(GatewayIntent.ALL_INTENTS));
builder.setAutoReconnect(true);
builder.setShardsTotal(1);