mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-21 06:10:04 +08:00
Fix: Update comment to Chinese for consistency
Co-authored-by: sj817 <74231782+sj817@users.noreply.github.com>
This commit is contained in:
parent
f3b9f1916f
commit
76bf3719f1
@ -41,7 +41,7 @@ class GetGroupMemberInfo extends OneBotAction<Payload, OB11GroupMember> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async _handle (payload: Payload) {
|
async _handle (payload: Payload) {
|
||||||
// Handle special case of 'all' which is used for @all mentions
|
// 处理 'all' 的特殊情况,用于 @全体成员
|
||||||
if (payload.user_id === 'all') {
|
if (payload.user_id === 'all') {
|
||||||
throw new Error('无法获取全体成员的信息,user_id 不能为 "all"');
|
throw new Error('无法获取全体成员的信息,user_id 不能为 "all"');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user