Update Akeno/plugins/eval.py
Browse files- Akeno/plugins/eval.py +2 -0
Akeno/plugins/eval.py
CHANGED
@@ -33,6 +33,7 @@ from Akeno.utils.tools import *
|
|
33 |
from Akeno.utils.handler import *
|
34 |
from Akeno.utils.scripts import get_args, get_args_raw, shell_exec, with_args
|
35 |
from config import CMD_HANDLER
|
|
|
36 |
|
37 |
@Akeno(
|
38 |
~filters.scheduled
|
@@ -102,6 +103,7 @@ async def aexec(code, client, message):
|
|
102 |
+ " message = event = randydev\n"
|
103 |
+ " r = reply = message.reply_to_message\n"
|
104 |
+ " chat = message.chat.id\n"
|
|
|
105 |
)
|
106 |
+ "".join(f"\n {l}" for l in code.split("\n"))
|
107 |
)
|
|
|
33 |
from Akeno.utils.handler import *
|
34 |
from Akeno.utils.scripts import get_args, get_args_raw, shell_exec, with_args
|
35 |
from config import CMD_HANDLER
|
36 |
+
from config import *
|
37 |
|
38 |
@Akeno(
|
39 |
~filters.scheduled
|
|
|
103 |
+ " message = event = randydev\n"
|
104 |
+ " r = reply = message.reply_to_message\n"
|
105 |
+ " chat = message.chat.id\n"
|
106 |
+
+ " c = client\n"
|
107 |
)
|
108 |
+ "".join(f"\n {l}" for l in code.split("\n"))
|
109 |
)
|