Refactor command packages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-20 18:56:57 +01:00
parent 3474593dc9
commit 913e8e023a
10 changed files with 44 additions and 31 deletions

View File

@@ -65,9 +65,9 @@ public class HidekoBot
String botUserId = jda.getSelfUser().getId();
Configuration.setBotApplicationId(botUserId);
// store if we have to force refresh commands despite no apparent changes.
boolean forceUpdateCommands = false;
// if there is more than 1 arg, then iterate through them because we have additional things to do.
// we are doing this at the end because we might need the API to be already initialized for some things.
if(args.length > 1) {