diff --git a/index.js b/index.js index aeeee74..9074c8f 100644 --- a/index.js +++ b/index.js @@ -123,6 +123,7 @@ export class chatgpt extends plugin { } catch (e) { logger.error(e) await this.reply(`OpenAI认证失败,请检查Token:${e}`, true) + return } let c logger.info(`chatgpt question: ${question}`) diff --git a/index_no#.js b/index_no#.js index a4aad8e..23a638b 100644 --- a/index_no#.js +++ b/index_no#.js @@ -129,6 +129,7 @@ export class chatgpt extends plugin { } catch (e) { logger.error(e) await this.reply(`OpenAI认证失败,请检查Token:${e}`, true) + return } let c logger.info(`chatgpt question: ${question}`)