1
0
mirror of https://github.com/fumiama/go-onebot-agent.git synced 2026-06-16 08:20:28 +08:00

feat:add manualaddreq option

This commit is contained in:
源文雨
2026-01-06 20:39:31 +08:00
parent d291584892
commit a0c81601f2
2 changed files with 7 additions and 4 deletions

View File

@@ -463,7 +463,7 @@ func (fakemem) Load(grp int64) []string {
func TestAgent_system(t *testing.T) {
ag := NewAgent(
12345, 10, 10, time.Minute, "testname", "testsex", "testchar",
"testd", &fakemem{}, false,
"testd", &fakemem{}, false, false,
)
p, err := ag.system(PermRoleAdmin, 123)
if err != nil {