This commit is contained in:
GregTCLTK 2020-05-12 17:35:35 +02:00
parent 065a6bb22c
commit 3ab7d38e3a
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);
DefaultShardManagerBuilder builder = DefaultShardManagerBuilder.create(GatewayIntent.GUILD_MEMBERS, GatewayIntent.DIRECT_MESSAGE_REACTIONS, GatewayIntent.GUILD_PRESENCES, GatewayIntent.GUILD_VOICE_STATES);
builder.setAutoReconnect(true);
builder.setShardsTotal(1);