fix(onebot): explain when member permission changes need the owner
Admins were getting an empty protocol error when changing group member permissions. Report that only the group owner can make that change. Fixes #411
This commit is contained in:
6 files changed
+101
-15
No files matched your search
@@ -100,7 +100,7 @@ export const actions = [
|
||||
|
||||
groupAction({
|
||||
name: 'set_group_member_permissions',
|
||||
summary: '设置群成员权限',
|
||||
summary: '设置群成员权限(仅群主可改)',
|
||||
params: {
|
||||
allow_member_upload_album: f.bool().optional(),
|
||||
allow_member_temporary_session: f.bool().optional(),
|
||||
|
||||
Reference in new issue
Block a user