fix: reason is now wrapped in
in dl-blacklist add command
This commit is contained in:
parent
225c13ade9
commit
43a2c9d766
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class MusicDownloader(commands.Cog):
|
||||||
cur.execute("INSERT INTO blacklist_log (user_id, reason) VALUES (?, ?);", (user.id, reason))
|
cur.execute("INSERT INTO blacklist_log (user_id, reason) VALUES (?, ?);", (user.id, reason))
|
||||||
con.commit()
|
con.commit()
|
||||||
con.close()
|
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')
|
@blacklist.command(name='remove')
|
||||||
@checks.is_owner()
|
@checks.is_owner()
|
||||||
|
|
Loading…
Reference in a new issue