Fix missing _loop in newer Telethon

pull/8/merge
Dan Elkouby 2018-05-05 14:48:58 +03:00
parent 5ade1cf621
commit 5b80fb7c5b
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class Uniborg(TelegramClient):
# precedence
self._event_builders = hacks.ReverseList()
self._loop = asyncio.get_event_loop()
self._loop.run_until_complete(self._async_init(bot_token=bot_token))
core_plugin = Path(__file__).parent / "_core.py"