add reaction to warned messages

Kaveen Kumarasinghe 1 year ago
parent 762adfdc8e
commit 8fe9772db3

@ -188,6 +188,12 @@ class Moderation:
to_moderate.message
),
)
# Attempt to react to the to_moderate.message with a warning icon
try:
await to_moderate.message.add_reaction("⚠️")
except discord.errors.Forbidden:
pass
await response_message.edit(
view=ModerationAdminView(
to_moderate.message, response_message

Loading…
Cancel
Save