1.1.6 • Published 1 month ago
koishi-plugin-glot v1.1.6
koishi-plugin-glot
在 Koishi 中使用 glot.io 执行代码。
配置项
apiToken
- 类型:
string
申请到的 API 令牌。
defaultLanguage
- 类型:
string
- 默认值:
'javascript'
默认的执行语言。
指令: glot
支持的语言:
assembly, ats, bash, c, clojure, cobol, coffeescript, cpp, crystal, csharp, d, elixir, elm, erlang, fsharp, go, groovy, haskell, idris, java, javascript, julia, kotlin, lua, mercury, nim, nix, ocaml, perl, php, python, raku, ruby, rust, scala, swift, typescript
- 基本语法:
glot <code>
- 选项列表:
- -l, --language \ 语言
- -s, --stdin \ 标准输入