diff options
| author | 2022-06-15 13:06:26 +0100 | |
|---|---|---|
| committer | 2022-06-15 13:06:26 +0100 | |
| commit | 19f67db0f18c7d49ff5e0a01b4cc9b569c992689 (patch) | |
| tree | d74615f549a6753045f0f06f5103e87974688ef4 | |
| parent | Always prepend guild name to guild invite filters. (diff) | |
Include the list type when telling mods a new autoban filter was added
| -rw-r--r-- | bot/exts/filters/filter_lists.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/filters/filter_lists.py b/bot/exts/filters/filter_lists.py index cc3a61212..fe7a71e09 100644 --- a/bot/exts/filters/filter_lists.py +++ b/bot/exts/filters/filter_lists.py @@ -118,7 +118,8 @@ class FilterLists(Cog): # 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_meta).send( - f":warning: Heads-up! The new filter `{content}` (`{comment}`) will automatically ban users." + f":warning: Heads-up! The new `{list_type}` filter " + f"`{content}` (`{comment}`) will automatically ban users." ) # Insert the item into the cache |