v1.0.3 #370
2 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 + "`";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue