1 parent 862285e commit 2870ae8Copy full SHA for 2870ae8
2 files changed
pyrogram/methods/auth/initialize.py
@@ -44,8 +44,6 @@ async def initialize(
44
45
self.load_plugins()
46
47
- self.me = await self.get_me()
48
-
49
await self.dispatcher.start()
50
51
self.is_initialized = True
pyrogram/methods/utilities/start.py
@@ -71,4 +71,6 @@ async def main():
71
raise
72
else:
73
await self.initialize()
74
+ self.me = await self.get_me()
75
+
76
return self
0 commit comments