diff --git a/src/modules/reminder/index.ts b/src/modules/reminder/index.ts index bfebb31..f104037 100644 --- a/src/modules/reminder/index.ts +++ b/src/modules/reminder/index.ts @@ -59,8 +59,13 @@ export default class extends Module { const separatorIndex = text.indexOf(' ') > -1 ? text.indexOf(' ') : text.indexOf('\n'); const thing = text.substr(separatorIndex + 1).trim(); - if (thing === '' && msg.quoteId == null || msg.visibility === 'followers') { + if (thing === '' && msg.quoteId == null) { msg.reply(serifs.reminder.invalid); + return true; + } + + if (msg.visibility === 'followers') { + msg.reply(serifs.reminder.invalidVisibility); return { reaction: '๐Ÿ†–', immediate: true, diff --git a/src/serifs.ts b/src/serifs.ts index 7d61ba3..d349cd9 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -339,6 +339,8 @@ export default { reminder: { invalid: 'ใ†ใƒผใ‚“...๏ผŸ', + invalidVisibility: "ๅ…ฌ้–‹็ฏ„ๅ›ฒใฎๆŒ‡ๅฎšใ‚’ๅค‰ใˆใฆใฟใฆ", + reminds: 'ใ‚„ใ‚‹ใ“ใจไธ€่ฆงใงใ™๏ผ', notify: (name) => name ? `${name}ใ€ใ“ใ‚Œใ‚„ใ‚Šใพใ—ใŸใ‹๏ผŸ` : `ใ“ใ‚Œใ‚„ใ‚Šใพใ—ใŸใ‹๏ผŸ`,