From 23abaae36b4bdaca9b47d2aa2ef27497b40b68c2 Mon Sep 17 00:00:00 2001 From: shy Date: Fri, 5 Apr 2024 00:24:17 +0800 Subject: [PATCH] add some --- exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.go b/exec.go index 68deb028..e3ccbafd 100644 --- a/exec.go +++ b/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...)