Better code yk
This commit is contained in:
parent
dfa7c58942
commit
11fb585997
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ public class Hadder {
|
||||||
Rethink rethink = new Rethink(config);
|
Rethink rethink = new Rethink(config);
|
||||||
rethink.connect();
|
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.setAutoReconnect(true);
|
||||||
builder.setShardsTotal(1);
|
builder.setShardsTotal(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue