Captain Ezio commited on
Commit
a155e0a
·
1 Parent(s): 7c42912

Update custom_filters.py

Browse files
Files changed (1) hide show
  1. Powers/utils/custom_filters.py +1 -1
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.get("chat").get("id"))
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",