-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Compatibility for the DefaultShardManagerBuilder
Took 14 minutes
- Loading branch information
1 parent
a579017
commit 6f20d5c
Showing
5 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package de.joshizockt.discordutils.modules; | ||
|
||
import net.dv8tion.jda.api.JDABuilder; | ||
import net.dv8tion.jda.api.sharding.DefaultShardManagerBuilder; | ||
|
||
public interface Module { | ||
|
||
void init(JDABuilder builder); | ||
void init(DefaultShardManagerBuilder builder); | ||
|
||
} |
20 changes: 14 additions & 6 deletions
20
src/main/java/de/joshizockt/discordutils/modules/ModuleLoader.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters