1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-26 21:14:19 +00:00

Add a few aliases

This commit is contained in:
Steffo 2021-04-20 02:50:25 +02:00
parent 1f33a170b8
commit 946a27a5a8
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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<first>[A-Za-z]+)[\s+&]+(?P<second>[A-Za-z]+)")
register_telegram(commands.emojify, ["emojify"], r"(?P<message>.+)")
register_telegram(commands.dog_any, ["dog"])
register_telegram(commands.dog_breedlist, ["dog"], "(?:list|help|aiuto)")
register_telegram(commands.dog_breed, ["dog"], "(?P<breed>[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<breed>[A-Za-z/]+)")
register_telegram(commands.fortune, ["fortune"])
register_telegram(commands.pmots, ["pmots"])
register_telegram(commands.spell, ["spell"], "(?P<spellname>.+)")
register_telegram(commands.spell, ["spell", "cast"], "(?P<spellname>.+)")
register_telegram(commands.smecds, ["smecds"])
register_telegram(commands.man, ["man", "help"], "(?P<commandname>[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)