aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-10-25 19:20:54 +0200
committerGravatar Matteo Bertucci <[email protected]>2021-10-25 19:20:54 +0200
commit30612bc2f61361ac62a0615181f24366bab3f957 (patch)
tree3ef8f3ae558b5515762bfbc3030719437cbaa9de
parentMerge remote-tracking branch 'origin/main' into filters/autoban (diff)
Filter list: move warning to #mod-meta
-rw-r--r--bot/constants.py2
-rw-r--r--bot/exts/filters/filter_lists.py4
-rw-r--r--config-default.yml2
3 files changed, 4 insertions, 4 deletions
diff --git a/bot/constants.py b/bot/constants.py
index a75a26a9b..e3846fb3d 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -444,7 +444,7 @@ class Channels(metaclass=YAMLGetter):
incidents: int
incidents_archive: int
mod_alerts: int
- mod_tools: int
+ mod_meta: int
nominations: int
nomination_voting: int
organisation: int
diff --git a/bot/exts/filters/filter_lists.py b/bot/exts/filters/filter_lists.py
index b1e07185a..4af76af76 100644
--- a/bot/exts/filters/filter_lists.py
+++ b/bot/exts/filters/filter_lists.py
@@ -101,9 +101,9 @@ class FilterLists(Cog):
)
raise
- # If it is an autoban trigger we send a warning in #mod-tools
+ # If it is an autoban trigger we send a warning in #mod-meta
if comment and "[autoban]" in comment:
- await self.bot.get_channel(Channels.mod_tools).send(
+ await self.bot.get_channel(Channels.mod_meta).send(
f":warning: heads-up! The new filter `{content}` (`{comment}`) will automatically ban users."
)
diff --git a/config-default.yml b/config-default.yml
index c0e561cca..4a85ccc56 100644
--- a/config-default.yml
+++ b/config-default.yml
@@ -207,7 +207,7 @@ guild:
incidents_archive: 720668923636351037
mod_alerts: 473092532147060736
mods: &MODS 305126844661760000
- mod_tools: 775413915391098921
+ mod_meta: 775412552795947058
nominations: 822920136150745168
nomination_voting: 822853512709931008
organisation: &ORGANISATION 551789653284356126