aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-10-19 16:41:59 +0100
committerGravatar GitHub <[email protected]>2021-10-19 16:41:59 +0100
commit95fdd6e8ed17ef754649e95206b342c6c5a13abf (patch)
treef2256c9c0671a7e27f77971749adf4b5b3057153
parentMerge pull request #1845 from python-discord/fix-sentry-BOT-1N6 (diff)
parentMod-log thread: use soft colors (diff)
Merge pull request #1894 from python-discord/modlog-soft-colors
Mod-log thread: use soft colors
-rw-r--r--bot/exts/moderation/modlog.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/moderation/modlog.py b/bot/exts/moderation/modlog.py
index b90480f0d..fb6888755 100644
--- a/bot/exts/moderation/modlog.py
+++ b/bot/exts/moderation/modlog.py
@@ -786,11 +786,11 @@ class ModLog(Cog, name="ModLog"):
return
if not before.archived and after.archived:
- colour = Colour.red()
+ colour = Colour.soft_red()
action = "archived"
icon = Icons.hash_red
elif before.archived and not after.archived:
- colour = Colour.green()
+ colour = Colour.soft_green()
action = "un-archived"
icon = Icons.hash_green
else:
@@ -808,7 +808,7 @@ class ModLog(Cog, name="ModLog"):
"""Log thread deletion."""
await self.send_log_message(
Icons.hash_red,
- Colour.red(),
+ Colour.soft_red(),
"Thread deleted",
f"Thread {thread.mention} (`{thread.id}`) from {thread.parent.mention} (`{thread.parent.id}`) deleted"
)
@@ -823,7 +823,7 @@ class ModLog(Cog, name="ModLog"):
await self.send_log_message(
Icons.hash_green,
- Colour.green(),
+ Colour.soft_green(),
"Thread created",
f"Thread {thread.mention} (`{thread.id}`) from {thread.parent.mention} (`{thread.parent.id}`) created"
)