Skip to content

Commit

Permalink
🎨 改进代码样式
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 6, 2023
1 parent e9bc633 commit e6e5e88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import (
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/choose" // 选择困难症帮手
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/chouxianghua" // 说抽象话
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/chrev" // 英文字符翻转
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/coc" // coc辅助器
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/coc" // coc辅助器
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/coser" // 三次元小姐姐
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/cpstory" // cp短打
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/dailynews" // 今日早报
Expand Down
2 changes: 0 additions & 2 deletions plugin/coc/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ func init() {
return
}
cocInfo.Other[site-1] = settingMsg[2]

}
err = savePanel(cocInfo, gid, uid)
if err != nil {
Expand Down Expand Up @@ -247,7 +246,6 @@ func init() {
}
}
ctx.Send(msg)

})
engine.OnRegex(`^(\.|。)(setpc|SETPC)(\[CQ:at,qq=)?(\d+)(\])?`, getsetting, zero.AdminPermission).SetBlock(true).Handle(func(ctx *zero.Ctx) {
gid := ctx.Event.GroupID
Expand Down

0 comments on commit e6e5e88

Please sign in to comment.