diff --git a/src/main/java/wtf/beatrice/hidekobot/commands/message/ClearCommand.java b/src/main/java/wtf/beatrice/hidekobot/commands/message/ClearCommand.java index 0635dc6..aea9afb 100644 --- a/src/main/java/wtf/beatrice/hidekobot/commands/message/ClearCommand.java +++ b/src/main/java/wtf/beatrice/hidekobot/commands/message/ClearCommand.java @@ -49,7 +49,7 @@ public class ClearCommand implements MessageCommand toDeleteAmount = Integer.parseInt(args[0]); } catch (NumberFormatException e) { - toDeleteAmount = 1; + toDeleteAmount = 0; } }