forked from kate/uniborg
Fix missing _loop in newer Telethon
This commit is contained in:
parent
5ade1cf621
commit
5b80fb7c5b
|
@ -39,6 +39,7 @@ class Uniborg(TelegramClient):
|
||||||
# precedence
|
# precedence
|
||||||
self._event_builders = hacks.ReverseList()
|
self._event_builders = hacks.ReverseList()
|
||||||
|
|
||||||
|
self._loop = asyncio.get_event_loop()
|
||||||
self._loop.run_until_complete(self._async_init(bot_token=bot_token))
|
self._loop.run_until_complete(self._async_init(bot_token=bot_token))
|
||||||
|
|
||||||
core_plugin = Path(__file__).parent / "_core.py"
|
core_plugin = Path(__file__).parent / "_core.py"
|
||||||
|
|
Loading…
Reference in New Issue