fix: reason is now wrapped in in dl-blacklist add command

This commit is contained in:
Seaswimmer 2023-08-02 01:09:39 -04:00
parent 225c13ade9
commit 43a2c9d766
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -201,7 +201,7 @@ class MusicDownloader(commands.Cog):
cur.execute("INSERT INTO blacklist_log (user_id, reason) VALUES (?, ?);", (user.id, reason))
con.commit()
con.close()
await ctx.send(f"{user.mention} has been added to the blacklist with the reason: {reason or 'No reason provided.'}")
await ctx.send(f"{user.mention} has been added to the blacklist with the reason: `{reason or 'No reason provided.'}`")
@blacklist.command(name='remove')
@checks.is_owner()