|
|
|
@ -26,11 +26,6 @@ public class BotConfig {
|
|
|
|
|
private final String token;
|
|
|
|
|
private final String guildId;
|
|
|
|
|
|
|
|
|
|
@Singleton
|
|
|
|
|
public Map<String, Pair<Object, ExecutableMethod<Object, Object>>> commandMap() {
|
|
|
|
|
return new HashMap<>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Inject
|
|
|
|
|
public BotConfig(@Value("${bot.token}") String token,
|
|
|
|
|
@Value("${bot.guild.id}") String guildId) {
|
|
|
|
@ -38,6 +33,11 @@ public class BotConfig {
|
|
|
|
|
this.guildId = guildId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Singleton
|
|
|
|
|
public Map<String, Pair<Object, ExecutableMethod<Object, Object>>> commandMap() {
|
|
|
|
|
return new HashMap<>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Singleton
|
|
|
|
|
@Order(2)
|
|
|
|
|
public Guild ownerGuild(JDA jda) throws InterruptedException {
|
|
|
|
|