1
0
Fork 0
forked from swee/MeowNex

Update sweebot.py

This commit is contained in:
Nova Cat 2024-12-23 16:12:39 -08:00
parent d0b488b863
commit 847994826d

View file

@ -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)",