Skip to content

Commit

Permalink
fix: 嗯嗯
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 committed Nov 28, 2023
1 parent 823301e commit 028fbb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ export class chatgpt extends plugin {
if (!msg || e.msg?.startsWith('#')) {
return false
}
if ((e.isGroup || e.group_id) && !(e.atme || e.atBot || e.at == getUin(e))) {
if ((e.isGroup || e.group_id) && !(e.atme || e.atBot || (e.at === e.self_id))) {
return false
}
if (e.user_id == getUin(e)) return false
Expand Down

5 comments on commit 028fbb7

@Oishiimono
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更新这版后还是会响应群内艾特群内其他人(QQNT版本)

@ikechan8370
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更新这版后还是会响应群内艾特群内其他人(QQNT版本)

只有qqnt会吗?

@Oishiimono
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更新这版后还是会响应群内艾特群内其他人(QQNT版本)

只有qqnt会吗?

目前手里暂时只有QQNT,其他方式的还不清楚有没有类似问题

@ikechan8370
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更新这版后还是会响应群内艾特群内其他人(QQNT版本)

只有qqnt会吗?

目前手里暂时只有QQNT,其他方式的还不清楚有没有类似问题

目前看不出代码有什么问题 不排除ws传过来的e.at不对?我手头也没环境测试。你有条件的话打印一下e看看

@Oishiimono
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

更新这版后还是会响应群内艾特群内其他人(QQNT版本)

只有qqnt会吗?

目前手里暂时只有QQNT,其他方式的还不清楚有没有类似问题

目前看不出代码有什么问题 不排除ws传过来的e.at不对?我手头也没环境测试。你有条件的话打印一下e看看

image
来了来了

Please sign in to comment.