Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
eac69ef
1
Parent(s):
9272463
Update custom_filters.py
Browse files
Powers/utils/custom_filters.py
CHANGED
|
@@ -80,7 +80,7 @@ def command(
|
|
| 80 |
except ValueError:
|
| 81 |
# i.e. PM
|
| 82 |
user_status = "creator"
|
| 83 |
-
ddb = Disabling(m.
|
| 84 |
if str(matches.group(1)) in ddb.get_disabled() and user_status not in (
|
| 85 |
"creator",
|
| 86 |
"administrator",
|
|
|
|
| 80 |
except ValueError:
|
| 81 |
# i.e. PM
|
| 82 |
user_status = "creator"
|
| 83 |
+
ddb = Disabling(m.chat.id)
|
| 84 |
if str(matches.group(1)) in ddb.get_disabled() and user_status not in (
|
| 85 |
"creator",
|
| 86 |
"administrator",
|