Skip to content

Commit

Permalink
Add missing generic type to shardmanager (#2612)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 authored Feb 17, 2024
1 parent 472cf52 commit 833563d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
* @since 3.4
* @author Aljoscha Grebe
*/
public interface ShardManager extends IGuildChannelContainer
public interface ShardManager extends IGuildChannelContainer<Channel>
{
/**
* Adds all provided listeners to the event-listeners that will be used to handle events.
Expand Down Expand Up @@ -969,7 +969,7 @@ default List<User> getUsers()

/**
* Restarts all shards, shutting old ones down first.
*
*
* <p>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).
*
Expand Down

0 comments on commit 833563d

Please sign in to comment.