mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: button under icqq
This commit is contained in:
parent
7014df3ecd
commit
6d03b5b2f9
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export class ChatGPTButtonHandler extends plugin {
|
||||||
|
|
||||||
async btnHandler (e, options, reject) {
|
async btnHandler (e, options, reject) {
|
||||||
logger.mark('[chatgpt按钮处理器]')
|
logger.mark('[chatgpt按钮处理器]')
|
||||||
if (e.adapter !== 'shamrock' && (!segment.button || segment.button(1) !== 1)) {
|
if (e.adapter !== 'shamrock' && (!segment.button || segment.button(1)?.content !== 1)) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
const fnc = e.logFnc
|
const fnc = e.logFnc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue