mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Move get_me() call into start()
This commit is contained in:
parent
862285e1e6
commit
2870ae84e7
2 changed files with 2 additions and 2 deletions
|
|
@ -44,8 +44,6 @@ class Initialize:
|
|||
|
||||
self.load_plugins()
|
||||
|
||||
self.me = await self.get_me()
|
||||
|
||||
await self.dispatcher.start()
|
||||
|
||||
self.is_initialized = True
|
||||
|
|
|
|||
|
|
@ -71,4 +71,6 @@ class Start:
|
|||
raise
|
||||
else:
|
||||
await self.initialize()
|
||||
self.me = await self.get_me()
|
||||
|
||||
return self
|
||||
|
|
|
|||
Loading…
Reference in a new issue