feat(shard): ✨ Let people know when their report helped moderators ban or warn someone.

This commit is contained in:
2025-03-19 19:43:46 -03:00
parent c2146f21ab
commit ee47e11c7f
6 changed files with 56 additions and 10 deletions
+2 -1
View File
@@ -216,7 +216,7 @@ class Calls(base.Cog):
if message.author.bot or ctx.valid or message.author.system:
return
if message.type in [discord.MessageType.default, discord.MessageType.reply]:
if message.type not in [discord.MessageType.default, discord.MessageType.reply]:
return
if await self.bot.is_banned(message.author.id):
@@ -630,6 +630,7 @@ class Calls(base.Cog):
"reply_user_avatar_url": (
replying_to.author.display_avatar.url if replying_to else None
),
"reported_by_id": ctx.author.id,
},
)