mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-10 22:26:23 +02:00
.hug - add "herzt"
This commit is contained in:
@@ -15,5 +15,5 @@ class FreeHugsObserver(PrivMsgObserverPrototype):
|
|||||||
|
|
||||||
def update_on_priv_msg(self, data: dict, connection: Connection):
|
def update_on_priv_msg(self, data: dict, connection: Connection):
|
||||||
if data["message"].startswith(".hug"):
|
if data["message"].startswith(".hug"):
|
||||||
hug_word = random.choice(["umarmt", "knuddelt", "drückt"])
|
hug_word = random.choice(["umarmt", "knuddelt", "drückt", "herzt"])
|
||||||
connection.send_back(f"\001ACTION {hug_word} {data['nick']}.\001", data)
|
connection.send_back(f"\001ACTION {hug_word} {data['nick']}.\001", data)
|
||||||
|
|||||||
Reference in New Issue
Block a user