diff options
author | 2021-10-20 15:16:33 +0300 | |
---|---|---|
committer | 2021-10-20 15:16:33 +0300 | |
commit | 4f66d73bce76f6e1e50626ad74d7efb61bf3950e (patch) | |
tree | 1a7d08f4ca4fd01f47caf0ea1eedb9e3b3c95448 | |
parent | Merge pull request #1894 from python-discord/modlog-soft-colors (diff) | |
parent | Modlog: correct color names (diff) |
Merge pull request #1897 from python-discord/modlog/correct-color-names
-rw-r--r-- | bot/exts/moderation/modlog.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/moderation/modlog.py b/bot/exts/moderation/modlog.py index fb6888755..9d1ae6853 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.soft_red() + colour = Colours.soft_red action = "archived" icon = Icons.hash_red elif before.archived and not after.archived: - colour = Colour.soft_green() + colour = Colours.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.soft_red(), + Colours.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.soft_green(), + Colours.soft_green, "Thread created", f"Thread {thread.mention} (`{thread.id}`) from {thread.parent.mention} (`{thread.parent.id}`) created" ) |