diff options
| -rw-r--r-- | bot/exts/filtering/_filter_lists/antispam.py | 2 | ||||
| -rw-r--r-- | bot/exts/filtering/_filter_lists/filter_list.py | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/filtering/_filter_lists/antispam.py b/bot/exts/filtering/_filter_lists/antispam.py index e549404c4..147998c1c 100644 --- a/bot/exts/filtering/_filter_lists/antispam.py +++ b/bot/exts/filtering/_filter_lists/antispam.py @@ -49,7 +49,7 @@ class AntispamList(UniquesListBase):              return antispam_filter_types[content]          except KeyError:              if content not in self._already_warned: -                log.warn(f"An antispam filter named {content} was supplied, but no matching implementation found.") +                log.warning(f"An antispam filter named {content} was supplied, but no matching implementation found.")                  self._already_warned.add(content)              return None diff --git a/bot/exts/filtering/_filter_lists/filter_list.py b/bot/exts/filtering/_filter_lists/filter_list.py index 4913315eb..bf02071cf 100644 --- a/bot/exts/filtering/_filter_lists/filter_list.py +++ b/bot/exts/filtering/_filter_lists/filter_list.py @@ -220,7 +220,7 @@ class FilterList(dict[ListType, AtomicList], typing.Generic[T], FieldRequiring):              if filter_type:                  return filter_type(filter_data, defaults)              elif content not in self._already_warned: -                log.warn(f"A filter named {content} was supplied, but no matching implementation found.") +                log.warning(f"A filter named {content} was supplied, but no matching implementation found.")                  self._already_warned.add(content)              return None          except TypeError as e:  |