From 816553a8e04fc56ea760d2535826042e57d61e89 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Mon, 22 Jan 2024 17:39:32 +0700 Subject: [PATCH] feat: enable janet on pesto (#218) --- 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 52f2ad8..eb53c6d 100644 --- a/src/services/pesto/index.js +++ b/src/services/pesto/index.js @@ -87,6 +87,7 @@ export function register(bot) { bot.command("clisp", (context) => executeCode(context, "clisp", "Common Lisp")); bot.command("dotnet", (context) => executeCode(context, "dotnet", ".NET")); bot.command("go", (context) => executeCode(context, "go", "Go")); + bot.command("janet", (context) => executeCode(context, "janet", "Janet")); bot.command("java", (context) => executeCode(context, "java", "Java")); bot.command("js", (context) => executeCode(context, "js", "Javascript")); bot.command("julia", (context) => executeCode(context, "julia", "Julia")); @@ -120,6 +121,10 @@ export function register(bot) { command: "go", description: "Execute Go code" }, + { + command: "janet", + description: "Execute Janet code" + }, { command: "java", description: "Execute Java code"