fix: applied allowedmentions to other messages

This commit is contained in:
Seaswimmer 2023-08-02 01:25:19 -04:00
parent f2f7cafc02
commit 4fd2856efa
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -182,7 +182,7 @@ class MusicDownloader(commands.Cog):
result = cur.fetchone()
if 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:
await ctx.send(f"{user.mention} is not in the blacklist.", allowed_mentions = discord.AllowedMentions(users=False))
con.close()