fix: made the cog create the required table on load
This commit is contained in:
parent
5573ada5fc
commit
e1d0f76f1e
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ class MusicDownloader(commands.Cog):
|
|||
user_id, reason = result
|
||||
raise self.UserBlacklisted(reason)
|
||||
|
||||
async def cog_load(self):
|
||||
self.create_table()
|
||||
|
||||
@commands.command()
|
||||
@checks.is_owner()
|
||||
async def change_data_path(self, ctx: commands.Context, *, data_path: str = None):
|
||||
|
|
Loading…
Reference in a new issue