From 6fc89a221c49b1f01d9ff533243f2e7422b652e2 Mon Sep 17 00:00:00 2001 From: tknkaa Date: Thu, 22 Jan 2026 17:18:14 +0800 Subject: [PATCH 1/2] feat(asakatsu-bot): add notification message when no reactions are found --- bots/asakatsu-bot/commands/check.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bots/asakatsu-bot/commands/check.ts b/bots/asakatsu-bot/commands/check.ts index 332fb62..84cb8cc 100644 --- a/bots/asakatsu-bot/commands/check.ts +++ b/bots/asakatsu-bot/commands/check.ts @@ -25,6 +25,7 @@ await execWithContext(async (ctx) => { const users = await reaction.users.fetch(); const targets = users.filter((u) => !u.bot).map((u) => u.id); if (!targets.length) { + await ctx.channel.send("リアクションないの悲しいって") console.log("OK: ユーザーのリアクション無し"); return; } From 629b5b8794bc4539e5bc8840981a0999124168ea Mon Sep 17 00:00:00 2001 From: tknkaa Date: Thu, 22 Jan 2026 17:24:56 +0800 Subject: [PATCH 2/2] style: add missing semicolon in check command --- bots/asakatsu-bot/commands/check.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/asakatsu-bot/commands/check.ts b/bots/asakatsu-bot/commands/check.ts index 84cb8cc..7e2cc82 100644 --- a/bots/asakatsu-bot/commands/check.ts +++ b/bots/asakatsu-bot/commands/check.ts @@ -25,7 +25,7 @@ await execWithContext(async (ctx) => { const users = await reaction.users.fetch(); const targets = users.filter((u) => !u.bot).map((u) => u.id); if (!targets.length) { - await ctx.channel.send("リアクションないの悲しいって") + await ctx.channel.send("リアクションないの悲しいって"); console.log("OK: ユーザーのリアクション無し"); return; }