mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: destroy await/async
This commit is contained in:
parent
4d53f378f1
commit
a1e72c7757
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ export class chatgpt extends plugin {
|
|||
await redis.lPop('CHATGPT:CHAT_QUEUE', 0)
|
||||
}
|
||||
if ( e === 'Error: {"detail":"Conversation not found"}') {
|
||||
destroyConversations (e)
|
||||
await this.destroyConversations (e)
|
||||
await this.reply(`当前对话异常,已经清除,请重试`, true, { recallMsg: e.isGroup ? 10 : 0 })
|
||||
} else
|
||||
await this.reply(`通信异常,请稍后重试:${e}`, true, { recallMsg: e.isGroup ? 10 : 0 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue