diff --git a/src/main/java/theoni/vkbot/BotHandler.java b/src/main/java/theoni/vkbot/BotHandler.java index 00af560..38cc238 100644 --- a/src/main/java/theoni/vkbot/BotHandler.java +++ b/src/main/java/theoni/vkbot/BotHandler.java @@ -54,7 +54,7 @@ else if (text.equals("/getid")) { manager.sendMessage(String.format(Messages.USER_ID.getText(), message.getFromId()), message); } - else if (text.equals("Rcon")){ + else if (text.equals("rcon") || text.equals("/rcon")){ if (config.getList("allowed-users").contains(message.getFromId())) { if (config.getList("fast-commands").size() != 0) { manager.sendMessage(Messages.RCON_WITH_COMMANDS.getText(), message, Keyboards.commandsKeyboard());