Update md.js

This commit is contained in:
ikechan8370 2024-03-01 17:05:22 +08:00 committed by GitHub
parent 80d3e7315a
commit 6ace854dd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,10 +14,8 @@ export class ChatGPTMarkdownHandler extends plugin {
}
async mdHandler (e, options, reject) {
if (cfg.bot.global_md) {
const { content, prompt, use } = options
let md = `> ${prompt}\n\n---\n${content}\n\n---\n*当前模式:${use}*`
return md
}
const { content, prompt, use } = options
let md = `> ${prompt}\n\n---\n${content}\n\n---\n*当前模式:${use}*`
return md
}
}