diff options
| -rw-r--r-- | geldschieberbot.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/geldschieberbot.py b/geldschieberbot.py index 15aa73f..a1209dd 100644 --- a/geldschieberbot.py +++ b/geldschieberbot.py @@ -140,6 +140,10 @@ def handle_input(inp): send("ERROR: amount musst be a number") continue + if amount < 0: + send("ERROR: amount must be positiv") + continue + if w[0] == "!zieh": amount *= -1 |
