Add version check and init to component.
This commit is contained in:
@@ -24,6 +24,8 @@ class ProfilesComponent(cmds.Component):
|
|||||||
# ----- API -----
|
# ----- API -----
|
||||||
async def component_load(self):
|
async def component_load(self):
|
||||||
await self.data.init()
|
await self.data.init()
|
||||||
|
await self.bot.version_check(*self.data.VERSION)
|
||||||
|
await self.profiles.init()
|
||||||
|
|
||||||
async def component_teardown(self):
|
async def component_teardown(self):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user