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