From 5164187fe0bbdae06b2c99965c7abbf690547b10 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 18 Apr 2021 17:02:32 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20#1=20Add=20/pmots?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalpack/__main__.py | 1 + royalpack/commands/__init__.py | 1 + royalpack/commands/pmots.py | 14 ++++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 royalpack/commands/pmots.py diff --git a/royalpack/__main__.py b/royalpack/__main__.py index 80633338..ae4fe678 100644 --- a/royalpack/__main__.py +++ b/royalpack/__main__.py @@ -54,6 +54,7 @@ register_telegram(commands.dog_any, ["dog"]) register_telegram(commands.dog_breedlist, ["dog"], "(?:list|help|aiuto)") register_telegram(commands.dog_breed, ["dog"], "(?P[A-Za-z/]+)") register_telegram(commands.fortune, ["fortune"]) +register_telegram(commands.pmots, ["pmots"]) pda.implementations["telethon.1"].register_conversation(r) diff --git a/royalpack/commands/__init__.py b/royalpack/commands/__init__.py index b817657d..d6e7d145 100644 --- a/royalpack/commands/__init__.py +++ b/royalpack/commands/__init__.py @@ -8,3 +8,4 @@ from .ship import * from .emojify import * from .dog import * from .fortune import * +from .pmots import * diff --git a/royalpack/commands/pmots.py b/royalpack/commands/pmots.py new file mode 100644 index 00000000..3cebaf06 --- /dev/null +++ b/royalpack/commands/pmots.py @@ -0,0 +1,14 @@ +import royalnet.engineer as engi + + +@engi.TeleportingConversation +async def pmots(*, _sentry: engi.Sentry, _msg: engi.Message, **__): + """ + Riprenditi da uno stomp colossale! + + https://t.me/c/1153723135/181784 + """ + await _msg.reply(text="👣 pmots pmots") + + +__all__ = ("pmots",)