Fixed command filter for photos

This commit is contained in:
Alex Root Junior 2021-07-07 12:23:35 +03:00
parent 5e265727d3
commit 427c10ea3f

View file

@ -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}