From a5d8381901eb9b787719c607765945df1aac3fa9 Mon Sep 17 00:00:00 2001 From: Maple Date: Mon, 5 Feb 2024 07:39:48 +0700 Subject: [PATCH] feat: add tengo to valid commands (#220) --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index 4f49f79..48e77b7 100644 --- a/src/app.js +++ b/src/app.js @@ -76,7 +76,7 @@ async function main() { } // TODO: Move this somewhere else - const validCommands = ["blidingej", "covid", "devread", "dukun", "eval", "laodeai", "news", "hilih", "joke", "kktbsys", "yntks", "homework", "illuminati", "c", "cpp", "clisp", "dotnet", "go", "java", "js", "julia", "lua", "php", "python", "ruby", "sqlite3", "ts", "v", "brainfuck", "qr", "quote", "search", "snap"]; + const validCommands = ["blidingej", "covid", "devread", "dukun", "eval", "laodeai", "news", "hilih", "joke", "kktbsys", "yntks", "homework", "illuminati", "c", "cpp", "clisp", "dotnet", "go", "java", "js", "julia", "lua", "php", "python", "ruby", "sqlite3", "tengo", "ts", "v", "brainfuck", "qr", "quote", "search", "snap"]; if (ctx.updateType === "message") { const command = getCommandName(ctx); if (command === "" || !validCommands.includes(command)) {