mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
🎨 改进代码样式
This commit is contained in:
parent
610cae5229
commit
fae3458bcf
@ -14,15 +14,12 @@ import (
|
|||||||
"github.com/FloatTech/zbputils/control/order"
|
"github.com/FloatTech/zbputils/control/order"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
poke = rate.NewManager(time.Minute*5, 8) // 戳一戳
|
poke = rate.NewManager(time.Minute*5, 8) // 戳一戳
|
||||||
engine = control.Register("chat", order.AcquirePrio(), &control.Options{
|
engine = control.Register("chat", order.AcquirePrio(), &control.Options{
|
||||||
DisableOnDefault: false,
|
DisableOnDefault: false,
|
||||||
Help: "chat\n- [BOT名字]\n- [戳一戳BOT]\n- 空调开\n- 空调关\n- 群温度\n- 设置温度[正整数]\n-",
|
Help: "chat\n- [BOT名字]\n- [戳一戳BOT]\n- 空调开\n- 空调关\n- 群温度\n- 设置温度[正整数]\n-",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() { // 插件主体
|
func init() { // 插件主体
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user