mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
add some
This commit is contained in:
parent
2c9cd04a41
commit
23abaae36b
2
exec.go
2
exec.go
@ -163,7 +163,7 @@ func (m *Message) _command(arg ...Any) *Message {
|
||||
}
|
||||
}
|
||||
}
|
||||
if count := kit.Int(m.Option(MSG_COUNT, kit.Format(kit.Int(m.Option(MSG_COUNT))+1))); m.Warn(count > 300, ErrTooDeepCount) {
|
||||
if count := kit.Int(m.Option(MSG_COUNT, kit.Format(kit.Int(m.Option(MSG_COUNT))+1))); m.Warn(count > 3000, ErrTooDeepCount) {
|
||||
panic(count)
|
||||
}
|
||||
list := kit.Simple(args...)
|
||||
|
Loading…
x
Reference in New Issue
Block a user