From 833563d1188c148178d2ad542ad50f709a0b5d71 Mon Sep 17 00:00:00 2001 From: Duncan Sterken Date: Sat, 17 Feb 2024 11:10:51 +0000 Subject: [PATCH] Add missing generic type to shardmanager (#2612) --- src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java b/src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java index d14eb62dd6..0f1bce911a 100644 --- a/src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java +++ b/src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java @@ -60,7 +60,7 @@ * @since 3.4 * @author Aljoscha Grebe */ -public interface ShardManager extends IGuildChannelContainer +public interface ShardManager extends IGuildChannelContainer { /** * Adds all provided listeners to the event-listeners that will be used to handle events. @@ -969,7 +969,7 @@ default List getUsers() /** * Restarts all shards, shutting old ones down first. - * + * *

As all shards need to connect to discord again this will take equally long as the startup of a new ShardManager * (using the 5000ms + backoff as delay between starting new JDA instances). *