diff --git a/model/mcGachaData.js b/model/mcGachaData.js index e136b6d..da05351 100644 --- a/model/mcGachaData.js +++ b/model/mcGachaData.js @@ -103,9 +103,14 @@ export default class mcGachaData { kuroLogger.warn('撤回消息失败:', JSON.stringify(err)) } } - let saveFailedMsg = await this.e.reply( - `QQ ${this.e.user_id} 的游戏 uid ${gameUid} 抽卡更新记录成功但保存失败: \n${gachaUpdateRet} \n将展示历史抽卡记录 ` - ) + let saveFailedMsg + if (gachaUpdateRet == 'ERROR_NO_NEWER_RECORD') { + saveFailedMsg = await this.e.reply(`QQ ${this.e.user_id} 的游戏 uid ${gameUid} 没有更新的抽卡记录啦, 晚点再来试试吧~`) + } else { + saveFailedMsg = await this.e.reply( + `QQ ${this.e.user_id} 的游戏 uid ${gameUid} 抽卡更新记录成功但保存失败: \n${gachaUpdateRet} \n将展示历史抽卡记录 ` + ) + } setTimeout(() => { if (saveFailedMsg) { try {