Skip to content

Commit

Permalink
Merge pull request #219 from teknologi-umum/feature/pesto-tengo
Browse files Browse the repository at this point in the history
feat: support bot command execution tengo code
  • Loading branch information
ii64 authored Feb 4, 2024
2 parents 816553a + 49c601a commit 06893fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/services/pesto/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 06893fe

Please sign in to comment.