This commit is contained in:
nin0dev 2024-12-23 14:42:43 -05:00
parent 610aa3f6aa
commit f3efc95a4a

View file

@ -8,6 +8,8 @@ export async function evalCode(_, code: string) {
}); });
if (d.response === 1) throw "Cancelled by user"; if (d.response === 1) throw "Cancelled by user";
// lines 12 to 36 shamelessly stolen from codeberg.org/vee/bot
const console: any = { const console: any = {
_lines: [] as string[], _lines: [] as string[],
_log(...things: string[]) { _log(...things: string[]) {