Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
6f82e87
1
Parent(s):
d7e8ca1
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:
|