This commit is contained in:
Nova Cat 2024-11-15 21:29:43 -08:00
parent 57e5634cd9
commit 26054792d9

View file

@ -495,7 +495,7 @@ while True:
elif command[0] == "$botsnack": elif command[0] == "$botsnack":
multiline(f"\x01ACTION eats some {choice(snacks)}\x01", channel) multiline(f"\x01ACTION eats some {choice(snacks)}\x01", channel)
elif command[0] == "$hug": elif command[0] == "$hug":
name = nick if len(command) > 2 else " ".join(command[1:]) name = nick if (len(command) > 1) else " ".join(command[1:])
multiline(f"\x01ACTION gives a hug to {name}\x01", channel) multiline(f"\x01ACTION gives a hug to {name}\x01", channel)