mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16: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.load_plugins()
|
||||||
|
|
||||||
self.me = await self.get_me()
|
|
||||||
|
|
||||||
await self.dispatcher.start()
|
await self.dispatcher.start()
|
||||||
|
|
||||||
self.is_initialized = True
|
self.is_initialized = True
|
||||||
|
|
|
||||||
|
|
@ -71,4 +71,6 @@ class Start:
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
await self.initialize()
|
await self.initialize()
|
||||||
|
self.me = await self.get_me()
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue