fix: made the cog create the required table on load

This commit is contained in:
SeaswimmerTheFsh 2023-08-01 22:13:36 -04:00
parent 5573ada5fc
commit e1d0f76f1e
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 5019678FD9CF50D8

View file

@ -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):