Remove privileged intents
This commit is contained in:
parent
ab04197641
commit
53fc632cea
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ public class Hadder {
|
|||
Rethink rethink = new Rethink(config);
|
||||
rethink.connect();
|
||||
|
||||
DefaultShardManagerBuilder builder = DefaultShardManagerBuilder.create(GatewayIntent.getIntents(GatewayIntent.ALL_INTENTS));
|
||||
DefaultShardManagerBuilder builder = DefaultShardManagerBuilder.create(GatewayIntent.getIntents(32509));
|
||||
|
||||
builder.setAutoReconnect(true);
|
||||
builder.setShardsTotal(1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue