From 6b58def252af9f9ecc617ccabf1d64dee034759e Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Wed, 6 Mar 2024 18:15:51 +0800 Subject: [PATCH] fix: remove md conditions --- apps/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/button.js b/apps/button.js index 23090bc9..1d9ddc73 100644 --- a/apps/button.js +++ b/apps/button.js @@ -54,7 +54,7 @@ export class ChatGPTButtonHandler extends plugin { async btnHandler (e, options, reject) { // logger.mark('[chatgpt按钮处理器]') - if (!Config.enableMd || (e.adapter !== 'shamrock' && (!segment.button || segment.button(1)?.content !== 1))) { + if (!Config.enableMd)) { return null } const fnc = e.logFnc