Esempio n. 1
0
async def rust(ctx, *, text):
    stdout = run_prog("Rust", pull_out_codeblock(text, "```"))
    await ctx.send(stdout)
Esempio n. 2
0
async def js(ctx, *, text):
    stdout = run_prog("JavaScript", pull_out_codeblock(text, "```"))
    await ctx.send(stdout)
Esempio n. 3
0
async def php(ctx, *, text):
    stdout = run_prog("php", pull_out_codeblock(text, "```"))
    await ctx.send(stdout)
Esempio n. 4
0
async def ml(ctx, *, text):
    stdout = run_prog("OCaml", pull_out_codeblock(text, "```"))
    await ctx.send(stdout)
Esempio n. 5
0
async def go(ctx, *, text):
    stdout = run_prog(Language.go, pull_out_codeblock(text, "```"))
    await ctx.send(stdout)
Esempio n. 6
0
async def javascript(ctx, *, text):
    stdout = run_prog(Language.javascript, pull_out_codeblock(text, "```"))
    await ctx.send(stdout)