diff --git a/anjani/internal_plugins/spam_prediction.py b/anjani/internal_plugins/spam_prediction.py index e882e6e3d..dcdc8a531 100644 --- a/anjani/internal_plugins/spam_prediction.py +++ b/anjani/internal_plugins/spam_prediction.py @@ -37,7 +37,9 @@ InlineKeyboardMarkup, Message, ) -from pydantic import BaseModel, field_validator +from pydantic import BaseModel +from pydantic.functional_validators import field_validator + from anjani import command, filters, listener, plugin, util from anjani.core.metrics import SpamPredictionStat diff --git a/pyproject.toml b/pyproject.toml index bfb28db40..3ef98f8c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "anjani" -version = "2.14.9" +version = "2.14.11" description = "Telegram group management bot" license = "GPL-3.0-or-later" authors = [