2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-27 04:18:04 +00:00

Fix command filter relying on a previous command state

This commit is contained in:
Dan 2019-07-22 13:31:03 +02:00
parent f0c1cb00ca
commit af1bb3b0a7

View File

@ -240,6 +240,7 @@ class Filters:
def func(flt, message):
text = message.text or message.caption
message.command = None
if text:
for p in flt.p: