Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
5b0b8d7
1
Parent(s):
292d077
Update disable.py
Browse files
Powers/plugins/disable.py
CHANGED
@@ -38,9 +38,10 @@ async def disableit(_, m: Message):
|
|
38 |
|
39 |
if str((m.text.split(None, 1)[1]).lower()) in disable_cmd_keys:
|
40 |
db.add_disable((str(m.text.split(None, 1)[1])).lower())
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
44 |
|
45 |
|
46 |
@Gojo.on_message(command("disabledel") & can_change_filter)
|
|
|
38 |
|
39 |
if str((m.text.split(None, 1)[1]).lower()) in disable_cmd_keys:
|
40 |
db.add_disable((str(m.text.split(None, 1)[1])).lower())
|
41 |
+
await m.reply_text(f"Disabled {m.text.split(None, 1)[1]}!")
|
42 |
+
return
|
43 |
+
await m.reply_text("Can't do it sorry!")
|
44 |
+
return
|
45 |
|
46 |
|
47 |
@Gojo.on_message(command("disabledel") & can_change_filter)
|