feat(shard): ✨ Let people know when their report helped moderators ban or warn someone.
This commit is contained in:
@@ -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,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user