v1.0.3 #370

Merged
greg6775 merged 18 commits from greg-dev into master 2020-02-15 14:37:33 +01:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit 1f3a9023d4 - Show all commits

View file

@ -76,8 +76,7 @@ public class CommandHandler {
}
}
}
if (run)
cmd.executed(args, commandEvent);
if (run) cmd.executed(args, commandEvent);
else event.getMessage().addReaction("").queue();
return;
}

View file

@ -133,6 +133,6 @@ public class MessageEditor {
ResourceBundle resourceBundle = ResourceBundle.getBundle("Translations/Translations", locale);
if (resourceBundle.containsKey(string))
return resourceBundle.getString(string).replaceAll("%extra%", extra).replaceAll("%extra_two%", extra_two);
else return "This key doesn't exist. Please report this to the Bot Developers. Key: " + string + " Language_code: " + language_code;
else return "This key doesn't exist. Please report this to the Bot Developers. Key: `" + string + "` Language_code: `" + language_code + "`";
}
}