Spaces:
Sleeping
Sleeping
Captain Ezio
commited on
Commit
·
3d9c96b
1
Parent(s):
3493a39
Update dev.py
Browse files- Powers/plugins/dev.py +1 -1
Powers/plugins/dev.py
CHANGED
@@ -71,7 +71,7 @@ async def neofetch_stats(_, m: Message):
|
|
71 |
return
|
72 |
|
73 |
|
74 |
-
@Gojo.
|
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(command(["eval", "py"], dev_cmd=True))
|
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!")
|