Skip to content

Commit

Permalink
feat: support bot command execution tengo code
Browse files Browse the repository at this point in the history
  • Loading branch information
ii64 committed Feb 4, 2024
1 parent 816553a commit 49c601a
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 49c601a

Please sign in to comment.