From 847994826d96c1a698fb1a337f4a2916c1787ad0 Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 23 Dec 2024 16:12:39 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sweebot.py b/sweebot.py index 9fc5948..28284e6 100644 --- a/sweebot.py +++ b/sweebot.py @@ -540,7 +540,7 @@ while True: happiness = 10 elif len(command) == 1: happiness += (1 if happiness != 10 else 0) - if len(command) == 2 and int(command[1]) < 50: + if len(command) != 2 or int(command[1]) < 50: multiline(choice(pats) + " (Emotion: Upset " + ("#" * int(happiness)) + ("-" * int(10-happiness)) + " Happy)", @@ -565,7 +565,7 @@ while True: happiness = 0 elif len(command) == 1: happiness -= (1 if happiness != 0 else 0) - if len(command) == 2 and int(command[1]) < 50: + if len(command) != 2 or int(command[1]) < 50: multiline(choice(baps) + " (Emotion: Upset " + ("#" * int(happiness)) + ("-" * int(10-happiness)) + " Happy)",