Move hug to the core

This commit is contained in:
Nova Cat 2024-11-15 21:23:45 -08:00
parent 5293fa3084
commit 2f29335a5a
2 changed files with 4 additions and 5 deletions

4
cc/hug
View file

@ -1,4 +0,0 @@
from random import choice
from sys import argv
lene = len(argv)
print("\x01ACTION gives a hug to {argv[1] if len > 3 else argv[3:]}")

View file

@ -494,6 +494,9 @@ while True:
elif command[0] == "$botsnack":
multiline(f"\x01ACTION eats some {choice(snacks)}\x01", channel)
elif command[0] == "$hug":
multiline(f"\x01ACTION gives a hug to {nick if len(command) > 1 else command[1:]}\x01", channel)
#elif command[0] == "$sed":