2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Move get_me() call into start()

This commit is contained in:
Dan 2022-09-22 15:26:42 +02:00
parent 862285e1e6
commit 2870ae84e7
2 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,6 @@ class Initialize:
self.load_plugins()
self.me = await self.get_me()
await self.dispatcher.start()
self.is_initialized = True

View File

@ -71,4 +71,6 @@ class Start:
raise
else:
await self.initialize()
self.me = await self.get_me()
return self