diff --git a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/StopCommand.java b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/StopCommand.java index fa7dd0d7..fbbc0cfc 100644 --- a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/StopCommand.java +++ b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/StopCommand.java @@ -44,7 +44,7 @@ public int getCooldown() { @Override public void onCommand(TextChannel channel, Message message, Member member, String[] args) { - if(args.length == 1 && args[0].equals("acTualLy sToP")) { + if(args.length == 2 && args[0].equals("acTualLy") && args[1].equals("sToP")) { new TechEmbedBuilder("Stop") .setText("The bot will now stop!") .send(channel); @@ -52,8 +52,8 @@ public void onCommand(TextChannel channel, Message message, Member member, Strin System.exit(0); } else { new TechEmbedBuilder("Stop") - .setText("Hello, " + member.getAsMention() + "! I've detected that you're trying to stop the me!" + - "\n\nI do not like that, especially that if I do stop, I will not be restarted! If you **REALLY** wish to stop me, type the following command:\n`!stop acTualLy sToP`") + .setText("Hello, " + member.getAsMention() + "! I've detected that you're trying to stop me!" + + "\n\nI do not like that, especially that if I do stop, I will not be restarted!\nIf you **REALLY** wish to stop me, type the following command:\n`!stop acTualLy sToP`") .send(channel); }