mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-27 20:37:54 +00:00
Fix command filter relying on a previous command state
This commit is contained in:
parent
f0c1cb00ca
commit
af1bb3b0a7
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user