mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 14:30:10 +08:00
make lint happy
This commit is contained in:
parent
891bbb96aa
commit
4aca16a393
1
main.go
1
main.go
@ -295,7 +295,6 @@ func init() {
|
||||
func main() {
|
||||
if !strings.Contains(runtime.Version(), "go1.2") { // go1.20之前版本需要全局 seed,其他插件无需再 seed
|
||||
rand.Seed(time.Now().UnixNano()) //nolint: staticcheck
|
||||
rand.Int()
|
||||
}
|
||||
// 帮助
|
||||
zero.OnFullMatchGroup([]string{"/help", ".help", "菜单"}, zero.OnlyToMe).SetBlock(true).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user