1
0
Fork 0
forked from swee/MeowNex

Update sweebot.py

This commit is contained in:
Nova Cat 2024-12-23 16:11:48 -08:00
parent c6258e1094
commit d0b488b863

View file

@ -540,7 +540,7 @@ while True:
happiness = 10
elif len(command) == 1:
happiness += (1 if happiness != 10 else 0)
if int(command[1]) < 50:
if len(command) == 2 and 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 int(command[1]) < 50:
if len(command) == 2 and int(command[1]) < 50:
multiline(choice(baps) + " (Emotion: Upset " +
("#" * int(happiness)) +
("-" * int(10-happiness)) + " Happy)",