Skip to content

Commit

Permalink
fix: 修复不知道啥时候不小心碰到键盘导致的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 authored Oct 19, 2023
1 parent b1e3fb7 commit 9e7a614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/tools/EditCardTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 9e7a614

Please sign in to comment.