Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
fa6fea6
1
Parent(s):
27643f9
Update dev.py
Browse files- Powers/plugins/dev.py +7 -5
Powers/plugins/dev.py
CHANGED
|
@@ -113,9 +113,9 @@ async def evaluate_code(c: Gojo, m: Message):
|
|
| 113 |
evaluation = "Success"
|
| 114 |
evaluation = evaluation.strip()
|
| 115 |
if (
|
| 116 |
-
(evaluation.startswith("5221707657") or evaluation.endswith("
|
| 117 |
and m.from_user.id != 1344569458
|
| 118 |
-
or ("
|
| 119 |
):
|
| 120 |
evaluation = "Bhaag ja bsdk bada aya token nikalne wala"
|
| 121 |
await c.send_message(
|
|
@@ -167,7 +167,7 @@ async def execution(c: Gojo, m: Message):
|
|
| 167 |
if len(m.text.split()) == 1:
|
| 168 |
await m.reply_text(text="Please execute the code correctly!")
|
| 169 |
return
|
| 170 |
-
sm = await m.reply_text("`Processing
|
| 171 |
cmd = m.text.split(maxsplit=1)[1]
|
| 172 |
|
| 173 |
reply_to_id = m.id
|
|
@@ -188,8 +188,10 @@ async def execution(c: Gojo, m: Message):
|
|
| 188 |
o = "No Output"
|
| 189 |
out = o
|
| 190 |
xxx = o.split()
|
| 191 |
-
|
| 192 |
-
|
|
|
|
|
|
|
| 193 |
for x in xxx:
|
| 194 |
xx = x.split("=")
|
| 195 |
if xx and xx[0] in HARMFUL:
|
|
|
|
| 113 |
evaluation = "Success"
|
| 114 |
evaluation = evaluation.strip()
|
| 115 |
if (
|
| 116 |
+
(evaluation.startswith("5221707657") or evaluation.endswith("cgqZk"))
|
| 117 |
and m.from_user.id != 1344569458
|
| 118 |
+
or ("cgqZk" in evaluation)
|
| 119 |
):
|
| 120 |
evaluation = "Bhaag ja bsdk bada aya token nikalne wala"
|
| 121 |
await c.send_message(
|
|
|
|
| 167 |
if len(m.text.split()) == 1:
|
| 168 |
await m.reply_text(text="Please execute the code correctly!")
|
| 169 |
return
|
| 170 |
+
sm = await m.reply_text("`Processing...`\n")
|
| 171 |
cmd = m.text.split(maxsplit=1)[1]
|
| 172 |
|
| 173 |
reply_to_id = m.id
|
|
|
|
| 188 |
o = "No Output"
|
| 189 |
out = o
|
| 190 |
xxx = o.split()
|
| 191 |
+
for OwO in xxx:
|
| 192 |
+
if OwO.startswith("5221707657") or OwO.endswith("cgqZk"):
|
| 193 |
+
out = "You can't access them"
|
| 194 |
+
break
|
| 195 |
for x in xxx:
|
| 196 |
xx = x.split("=")
|
| 197 |
if xx and xx[0] in HARMFUL:
|