mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed command filter for photos
This commit is contained in:
parent
5e265727d3
commit
427c10ea3f
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class Command(BaseFilter):
|
|||
return False
|
||||
|
||||
try:
|
||||
command = await self.parse_command(text=cast(str, message.text), bot=bot)
|
||||
command = await self.parse_command(text=text, bot=bot)
|
||||
except CommandException:
|
||||
return False
|
||||
return {"command": command}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue