Skip to content

Commit bf5759e

Browse files
committed
Update client duration to 1 min.
1 parent feea76a commit bf5759e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/BotInitializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private void initializeCommands() {
5757
private void initializeBot(String token) {
5858
final GatewayDiscordClient client = DiscordClientBuilder.create(token).build()
5959
.login()
60-
.block(Duration.ofSeconds(5));
60+
.block(Duration.ofSeconds(60));
6161
if (client == null) {
6262
throw new RuntimeException("Could not build client and login.");
6363
}

0 commit comments

Comments
 (0)