mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 使用不存在的设定的bug
This commit is contained in:
parent
c35c3a66ce
commit
26b4534cfb
1 changed files with 2 additions and 1 deletions
|
|
@ -138,7 +138,8 @@ export class help extends plugin {
|
|||
content: Config.sydney
|
||||
}
|
||||
} else {
|
||||
await this.importPrompt(`#chatgpt导入设定${promptName}`)
|
||||
e.msg = `#chatgpt导入设定${promptName}`
|
||||
await this.importPrompt(e)
|
||||
prompt = getPromptByName(promptName)
|
||||
if (!prompt) {
|
||||
await e.reply('没有这个设定', true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue