From 946a27a5a862e8e5ac56d7b1d6178852d1fef9aa Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 20 Apr 2021 02:50:25 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20a=20few=20aliases?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalpack/__main__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/royalpack/__main__.py b/royalpack/__main__.py index 4eb5cb03..d65c67db 100644 --- a/royalpack/__main__.py +++ b/royalpack/__main__.py @@ -41,23 +41,23 @@ def register_telegram(conv, names, syntax=None): register_telegram(commands.ahnonlosoio, ["ahnonlosoio"]) register_telegram(commands.answer, ["answer"], r".+") -register_telegram(commands.cat, ["cat"]) +register_telegram(commands.cat, ["cat", "catto", "gatto", "nyaa", "nya"]) register_telegram(commands.ciaoruozi, ["ciaoruozi"]) register_telegram(commands.color, ["color"]) register_telegram(commands.ping, ["ping"]) register_telegram(commands.ship, ["ship"], r"(?P[A-Za-z]+)[\s+&]+(?P[A-Za-z]+)") register_telegram(commands.emojify, ["emojify"], r"(?P.+)") -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.dog_any, ["dog", "doggo", "cane", "woof", "bau"]) +register_telegram(commands.dog_breedlist, ["dog", "doggo", "cane", "woof", "bau"], "(?:list|help|aiuto)") +register_telegram(commands.dog_breed, ["dog", "doggo", "cane", "woof", "bau"], "(?P[A-Za-z/]+)") register_telegram(commands.fortune, ["fortune"]) register_telegram(commands.pmots, ["pmots"]) -register_telegram(commands.spell, ["spell"], "(?P.+)") +register_telegram(commands.spell, ["spell", "cast"], "(?P.+)") register_telegram(commands.smecds, ["smecds"]) register_telegram(commands.man, ["man", "help"], "(?P[A-Za-z]+)") register_telegram(commands.login, ["login"]) register_telegram(commands.whoami, ["whoami"]) -register_telegram(commands.balance, ["balance"]) +register_telegram(commands.balance, ["balance", "fiorygi"]) pda.implementations["telethon.1"].register_conversation(r)