Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
2b3bf8e
1
Parent(s):
22db4d0
Looks good
Browse files- Powers/plugins/dev.py +2 -1
Powers/plugins/dev.py
CHANGED
|
@@ -148,6 +148,7 @@ HARMFUL = [
|
|
| 148 |
"APP_ID",
|
| 149 |
]
|
| 150 |
|
|
|
|
| 151 |
@Gojo.on_message(command(["exec", "sh"], dev_cmd=True))
|
| 152 |
async def execution(c: Gojo, m: Message):
|
| 153 |
if len(m.text.split()) == 1:
|
|
@@ -155,7 +156,7 @@ async def execution(c: Gojo, m: Message):
|
|
| 155 |
return
|
| 156 |
sm = await m.reply_text("`Processing...`")
|
| 157 |
cmd = m.text.split(maxsplit=1)[1]
|
| 158 |
-
|
| 159 |
reply_to_id = m.id
|
| 160 |
if m.reply_to_message:
|
| 161 |
reply_to_id = m.reply_to_message.id
|
|
|
|
| 148 |
"APP_ID",
|
| 149 |
]
|
| 150 |
|
| 151 |
+
|
| 152 |
@Gojo.on_message(command(["exec", "sh"], dev_cmd=True))
|
| 153 |
async def execution(c: Gojo, m: Message):
|
| 154 |
if len(m.text.split()) == 1:
|
|
|
|
| 156 |
return
|
| 157 |
sm = await m.reply_text("`Processing...`")
|
| 158 |
cmd = m.text.split(maxsplit=1)[1]
|
| 159 |
+
|
| 160 |
reply_to_id = m.id
|
| 161 |
if m.reply_to_message:
|
| 162 |
reply_to_id = m.reply_to_message.id
|