From 2a70eca229ba1fa1c652a9938e6bf7289a389b2a Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Fri, 15 Nov 2024 21:31:24 -0800 Subject: [PATCH] I got a little too silly --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index ba57607..c695b09 100644 --- a/sweebot.py +++ b/sweebot.py @@ -495,7 +495,7 @@ while True: elif command[0] == "$botsnack": multiline(f"\x01ACTION eats some {choice(snacks)}\x01", channel) elif command[0] == "$hug": - name = nick if (len(command) > 1) else " ".join(command[1:]) + name = nick if not len(command) > 1 else " ".join(command[1:]) multiline(f"\x01ACTION gives a hug to {name}\x01", channel)