Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
d61d160
1
Parent(s):
545a638
Update custom_filters.py
Browse files
Powers/utils/custom_filters.py
CHANGED
@@ -27,10 +27,10 @@ def command(
|
|
27 |
if not m:
|
28 |
return
|
29 |
|
30 |
-
if m.
|
31 |
return # reaction
|
32 |
|
33 |
-
if m.
|
34 |
return
|
35 |
|
36 |
if not m.from_user:
|
|
|
27 |
if not m:
|
28 |
return
|
29 |
|
30 |
+
if m.edit_date:
|
31 |
return # reaction
|
32 |
|
33 |
+
if m.chat and m.chat.type == "channel":
|
34 |
return
|
35 |
|
36 |
if not m.from_user:
|