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:
parent
cb86e0923d
commit
ca863778fc
1 changed files with 7 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue