fix: fixed a command decorator

This commit is contained in:
Seaswimmer 2023-08-01 22:09:51 -04:00
parent e4d0b38848
commit 5573ada5fc
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -200,7 +200,7 @@ class MusicDownloader(commands.Cog):
con.close()
await ctx.send(f"{user.mention} has been added to the blacklist with the reason: {reason or 'No reason provided.'}")
@blacklist_add.command(name='remove')
@blacklist.command(name='remove')
async def blacklist_remove(self, ctx, user: discord.User):
data_path = str(data_manager.cog_data_path()) + f"{os.sep}MusicDownloader{os.sep}Data"
db_path = os.path.join(data_path, "database.db")