Skip to content

Commit 1b60388

Browse files
authored
bots/asakatsu-bot: add notification message when no reactions are found (#5)
* feat(asakatsu-bot): add notification message when no reactions are found * style: add missing semicolon in check command
1 parent 60c18d8 commit 1b60388

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bots/asakatsu-bot/commands/check.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ await execWithContext(async (ctx) => {
2525
const users = await reaction.users.fetch();
2626
const targets = users.filter((u) => !u.bot).map((u) => u.id);
2727
if (!targets.length) {
28+
await ctx.channel.send("リアクションないの悲しいって");
2829
console.log("OK: ユーザーのリアクション無し");
2930
return;
3031
}

0 commit comments

Comments
 (0)