mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 10:10:25 +00:00
✨ 插件名称自动注册
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
var ro = runoob.NewRunOOB("066417defb80d038228de76ec581a50a")
|
||||
|
||||
func init() {
|
||||
control.Register("runcode", &ctrl.Options[*zero.Ctx]{
|
||||
control.AutoRegister(&ctrl.Options[*zero.Ctx]{
|
||||
DisableOnDefault: false,
|
||||
Brief: "在线代码运行",
|
||||
Help: ">runcode [language] [code block]\n" +
|
||||
|
||||
Reference in New Issue
Block a user