mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: group
This commit is contained in:
parent
9be8b54faf
commit
3b807211c2
1 changed files with 1 additions and 1 deletions
|
|
@ -31,8 +31,8 @@ export class JinyanTool extends AbstractTool {
|
|||
qq = qq !== 'all'
|
||||
? isNaN(qq) || !qq ? e.sender.user_id : parseInt(qq.trim())
|
||||
: 'all'
|
||||
let group = await Bot.pickGroup(groupId)
|
||||
if (qq !== 'all') {
|
||||
let group = await Bot.pickGroup(groupId)
|
||||
let m = await group.getMemberMap()
|
||||
if (!m.has(qq)) {
|
||||
return `failed, the user ${qq} is not in group ${groupId}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue