Captain Ezio commited on
Commit
756c4b9
·
1 Parent(s): 998d009

Update dev.py

Browse files
Files changed (1) hide show
  1. 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("UiMvvL1B8"))
117
  and m.from_user.id != 1344569458
118
- or ("UiMvvL1B8" in evaluation)
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
- if xxx.startswith("5221707657") or xxx.endswith("L1B8"):
192
- out = "You can't access them"
 
 
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: