diff --git a/src/modules/reminder/index.ts b/src/modules/reminder/index.ts index 1bc16f9..434e943 100644 --- a/src/modules/reminder/index.ts +++ b/src/modules/reminder/index.ts @@ -143,10 +143,15 @@ export default class extends Module { text: serifs.reminder.notifyWithThing(remind.thing, friend.name) }); } else { - reply = await this.ai.post({ - renoteId: remind.thing == null && remind.quoteId ? remind.quoteId : remind.id, - text: acct(friend.doc.user) + ' ' + serifs.reminder.notify(friend.name) - }); + try { + reply = await this.ai.post({ + renoteId: remind.thing == null && remind.quoteId ? remind.quoteId : remind.id, + text: acct(friend.doc.user) + ' ' + serifs.reminder.notify(friend.name) + }); + } catch (err) { + // TODO: renote対象が消されていたらリマインダー解除 + return; + } } this.subscribeReply(remind.id, remind.isDm, remind.isDm ? remind.userId : reply.id, {