mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-18 06:17:06 +00:00
Update md.js
This commit is contained in:
parent
80d3e7315a
commit
6ace854dd4
1 changed files with 3 additions and 5 deletions
|
|
@ -14,10 +14,8 @@ export class ChatGPTMarkdownHandler extends plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
async mdHandler (e, options, reject) {
|
async mdHandler (e, options, reject) {
|
||||||
if (cfg.bot.global_md) {
|
const { content, prompt, use } = options
|
||||||
const { content, prompt, use } = options
|
let md = `> ${prompt}\n\n---\n${content}\n\n---\n*当前模式:${use}*`
|
||||||
let md = `> ${prompt}\n\n---\n${content}\n\n---\n*当前模式:${use}*`
|
return md
|
||||||
return md
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue