mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 16:15:51 +00:00
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x
This commit is contained in:
commit
c9d5b37d5c
3 changed files with 6 additions and 2 deletions
4
CHANGES/1221.misc.rst
Normal file
4
CHANGES/1221.misc.rst
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Updated magic-filter with new features
|
||||
|
||||
- Added hint for len(F) error
|
||||
- Added not in operation
|
||||
|
|
@ -191,7 +191,7 @@ class Command(Filter):
|
|||
return command # noqa: RET504
|
||||
|
||||
def do_magic(self, command: CommandObject) -> Any:
|
||||
if not self.magic:
|
||||
if self.magic is None:
|
||||
return command
|
||||
result = self.magic.resolve(command)
|
||||
if not result:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ classifiers = [
|
|||
"Topic :: Communications :: Chat",
|
||||
]
|
||||
dependencies = [
|
||||
"magic-filter~=1.0.9",
|
||||
"magic-filter~=1.0.10",
|
||||
"aiohttp~=3.8.4",
|
||||
"pydantic~=2.0.0",
|
||||
"aiofiles~=23.1.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue