Fixed order in which commands are loaded

This commit is contained in:
Stijn 2022-04-22 21:20:24 +02:00
parent 6c6c291ff2
commit e4dfecb7a3

View File

@ -29,10 +29,10 @@ public class CommandManager extends ListenerAdapter {
private final HashMap<String, List<ScopeInfo>> commandList = new HashMap<>();
public CommandManager(JDA jda) {
loadCommands();
commands = List.of(new CommandHelp(jda, this),
new CommandPoll(jda, this),
new CommandManage(jda, this));
loadCommands();
}
@Override