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