mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 修复不知道啥时候不小心碰到键盘导致的错误
This commit is contained in:
parent
b1e3fb7892
commit
9e7a614ded
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ export class EditCardTool extends AbstractTool {
|
|||
qq = isNaN(qq) || !qq ? e.sender.user_id : parseInt(qq.trim())
|
||||
groupId = isNaN(groupId) || !groupId ? e.group_id : parseInt(groupId.trim())
|
||||
|
||||
let group = await e.bot.(groupId)
|
||||
let group = await e.bot.pickGroup(groupId)
|
||||
try {
|
||||
let mm = await group.getMemberMap()
|
||||
if (!mm.has(qq)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue