fix: applied allowedmentions to other messages
This commit is contained in:
parent
f2f7cafc02
commit
4fd2856efa
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class MusicDownloader(commands.Cog):
|
||||||
result = cur.fetchone()
|
result = cur.fetchone()
|
||||||
if result:
|
if result:
|
||||||
user_id, reason = result
|
user_id, reason = result
|
||||||
await ctx.send(f"{user.mention} is in the blacklist for the following reason: `{reason}`")
|
await ctx.send(f"{user.mention} is in the blacklist for the following reason: `{reason}`", allowed_mentions = discord.AllowedMentions(users=False))
|
||||||
else:
|
else:
|
||||||
await ctx.send(f"{user.mention} is not in the blacklist.", allowed_mentions = discord.AllowedMentions(users=False))
|
await ctx.send(f"{user.mention} is not in the blacklist.", allowed_mentions = discord.AllowedMentions(users=False))
|
||||||
con.close()
|
con.close()
|
||||||
|
|
Loading…
Reference in a new issue