🎨 优化代码结构

This commit is contained in:
源文雨
2022-04-14 17:09:28 +08:00
parent a9327d1774
commit 7401a0cbec
9 changed files with 123 additions and 62 deletions

View File

@@ -13,7 +13,7 @@ import (
)
var (
poke = rate.NewManager(time.Minute*5, 8) // 戳一戳
poke = rate.NewManager[int64](time.Minute*5, 8) // 戳一戳
engine = control.Register("chat", &control.Options{
DisableOnDefault: false,
Help: "chat\n- [BOT名字]\n- [戳一戳BOT]\n- 空调开\n- 空调关\n- 群温度\n- 设置温度[正整数]",