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