mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Store "me" user object before starting dispatcher (#1042)
This commit is contained in:
parent
d1e8b3bf1e
commit
298d361092
@ -44,8 +44,8 @@ class Initialize:
|
||||
|
||||
self.load_plugins()
|
||||
|
||||
await self.dispatcher.start()
|
||||
|
||||
self.me = await self.get_me()
|
||||
|
||||
await self.dispatcher.start()
|
||||
|
||||
self.is_initialized = True
|
||||
|
Loading…
Reference in New Issue
Block a user