fix(onebot): use canonical group request flags

This commit is contained in:
DrSmoothl committed 2026-07-10 02:42:07 +08:00
1 parent 3c73d1d5b0
commit 35958a7fc2
11 files changed
+468 -60

No files matched your search

+1 -1
View File
@@ -20,6 +20,7 @@ export const actions = [
name: 'set_group_add_request',
summary: '处理加群请求',
params: {
// Opaque handle from the original request event; callers must echo it.
flag: f.string({ allowEmpty: false }),
// sub_type/type pass through with a nested fallback (sub_type → type → 'add');
// kept raw so the original asString resolution is preserved verbatim.
@@ -35,4 +36,3 @@ export const actions = [
},
}),
];