aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/constants.py1
-rw-r--r--bot/exts/filters/filter_lists.py4
-rw-r--r--config-default.yml2
3 files changed, 5 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 68a96876f..830ba049c 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -420,6 +420,7 @@ class Channels(metaclass=YAMLGetter):
how_to_get_help: int
attachment_log: int
+ filter_log: int
message_log: int
mod_log: int
nomination_archive: int
diff --git a/bot/exts/filters/filter_lists.py b/bot/exts/filters/filter_lists.py
index c643f9a84..8cb83c19f 100644
--- a/bot/exts/filters/filter_lists.py
+++ b/bot/exts/filters/filter_lists.py
@@ -117,9 +117,9 @@ class FilterLists(Cog):
)
raise
- # If it is an autoban trigger we send a warning in #mod-meta
+ # If it is an autoban trigger we send a warning in #filter-log
if comment and "[autoban]" in comment:
- await self.bot.get_channel(Channels.mod_meta).send(
+ await self.bot.get_channel(Channels.filter_log).send(
f":warning: Heads-up! The new `{list_type}` filter "
f"`{content}` (`{comment}`) will automatically ban users."
)
diff --git a/config-default.yml b/config-default.yml
index a12b680e1..e84a6045b 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -178,6 +178,7 @@ guild:
# Logs
attachment_log: &ATTACH_LOG 649243850006855680
+ filter_log: &FILTER_LOG 1014943924185473094
message_log: &MESSAGE_LOG 467752170159079424
mod_log: &MOD_LOG 282638479504965634
nomination_archive: 833371042046148738
@@ -257,6 +258,7 @@ guild:
- *MESSAGE_LOG
- *MOD_LOG
- *STAFF_VOICE
+ - *FILTER_LOG
reminder_whitelist:
- *BOT_CMD