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

Main: fix warnings that i'm not sure why are there

This commit is contained in:
Steffo 2022-08-21 01:44:56 +02:00
parent cb86e0923d
commit ca863778fc
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -151,7 +151,12 @@ register_discord(ds_router, commands.hack, ["hack"], r'(?P<activity>.+)')
register_discord(ds_router, commands.diobot, ["diobot", "phrase"])
register_discord(ds_router, commands.loginprogress, ["loginprogress"])
pda.implementations["telethon.1"].register_conversation(tg_router)
pda.implementations["discordpy.2"].register_conversation(ds_router)
# noinspection PyTypeChecker
tg_pdai: engi.ConversationListImplementation = pda.implementations["telethon.1"]
# noinspection PyTypeChecker
ds_pdai: engi.ConversationListImplementation = pda.implementations["discordpy.2"]
tg_pdai.register_conversation(tg_router)
ds_pdai.register_conversation(ds_router)
pda.run()