From 49c601a966537df90217634e5a112619432fc717 Mon Sep 17 00:00:00 2001 From: Nugraha Date: Sun, 4 Feb 2024 22:18:02 +0700 Subject: [PATCH] feat: support bot command execution tengo code --- src/services/pesto/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/services/pesto/index.js b/src/services/pesto/index.js index eb53c6d..07ccf3f 100644 --- a/src/services/pesto/index.js +++ b/src/services/pesto/index.js @@ -96,6 +96,7 @@ export function register(bot) { bot.command("python", (context) => executeCode(context, "python", "Python")); bot.command("ruby", (context) => executeCode(context, "ruby", "Ruby")); bot.command("sqlite3", (context) => executeCode(context, "sqlite3", "SQLite3")); + bot.command("tengo", (context) => executeCode(context, "tengo", "TenGo")); bot.command("ts", (context) => executeCode(context, "ts", "Typescript")); bot.command("v", (context) => executeCode(context, "v", "V")); bot.command("brainfuck", (context) => executeCode(context, "brainfuck", "Brainfuck")); @@ -157,6 +158,10 @@ export function register(bot) { command: "sqlite3", description: "Execute SQLite3 code" }, + { + command: "tengo", + description: "Execute TenGo code" + }, { command: "ts", description: "Execute Typescript code"