Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
e1fa587
1
Parent(s):
d61d470
Update dev.py
Browse files- Powers/plugins/dev.py +2 -1
Powers/plugins/dev.py
CHANGED
|
@@ -71,7 +71,8 @@ async def neofetch_stats(_, m: Message):
|
|
| 71 |
return
|
| 72 |
|
| 73 |
|
| 74 |
-
@Gojo.on_edited_message(
|
|
|
|
| 75 |
async def evaluate_code(c: Gojo, m: Message):
|
| 76 |
if len(m.text.split()) == 1:
|
| 77 |
await m.reply_text(text="Please execute the code correctly!")
|
|
|
|
| 71 |
return
|
| 72 |
|
| 73 |
|
| 74 |
+
@Gojo.on_edited_message()
|
| 75 |
+
@Gojo.on_message(command(["eval", "py"], dev_cmd=True))
|
| 76 |
async def evaluate_code(c: Gojo, m: Message):
|
| 77 |
if len(m.text.split()) == 1:
|
| 78 |
await m.reply_text(text="Please execute the code correctly!")
|