Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/GPT3Discord/commit/8fe9772db39031bca47728d9822dda004d7b17dd You should set ROOT_URL correctly, otherwise the web may not work correctly.

add reaction to warned messages

Kaveen Kumarasinghe 2 years 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