Skip to content

Commit

Permalink
Update BotHandler.java
Browse files Browse the repository at this point in the history
  • Loading branch information
MEFRREEX authored Mar 13, 2023
1 parent 02e0c6a commit 47c2812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/theoni/vkbot/BotHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 47c2812

Please sign in to comment.