From ef63217654bc07dae1852322a92e3c5d55bab7ca Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 22 Feb 2022 04:15:08 +0100 Subject: [PATCH] :wrench: Register the command in the `telethon.1` and `discordpy.2` pdas --- royalpack/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/royalpack/__main__.py b/royalpack/__main__.py index 036a5f09..65ec066b 100644 --- a/royalpack/__main__.py +++ b/royalpack/__main__.py @@ -109,6 +109,7 @@ register_telegram(tg_router, commands.fiorygi_bury, ["bury"], r"(?P[a-z0-9 register_telegram(tg_router, commands.version, ["version"]) register_telegram(tg_router, commands.cv, ["cv", "civù"]) register_telegram(tg_router, commands.rocoinflip, ["rocoinflip"], r'"(?P[^"]+)"\s+"(?P[^"]+)"') +register_telegram(tg_router, commands.diobot, ["diobot", "phrase"]) ds_router = engi.Router() @@ -141,6 +142,7 @@ register_discord(ds_router, commands.fiorygi_bury, ["bury"], r"(?P[a-z0-9- register_discord(ds_router, commands.version, ["version"]) register_discord(ds_router, commands.rocoinflip, ["rocoinflip"], r'"(?P[^"]+)"\s+"(?P[^"]+)"') register_discord(ds_router, commands.hack, ["hack"], r'(?P.+)') +register_discord(ds_router, commands.diobot, ["diobot", "phrase"]) pda.implementations["telethon.1"].register_conversation(tg_router) pda.implementations["discordpy.2"].register_conversation(ds_router)