A lot of intents xD

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