setAutoReconnect
This commit is contained in:
parent
91047e5b05
commit
eac328ea6b
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ public class Hadder {
|
|||
|
||||
DefaultShardManagerBuilder builder = new DefaultShardManagerBuilder();
|
||||
|
||||
builder.setAutoReconnect(true);
|
||||
builder.setShardsTotal(1);
|
||||
builder.setActivity(Activity.streaming("on the BigBotNetwork", "https://twitch.tv/BigBotNetwork"));
|
||||
builder.setToken(config.getBotToken());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue