From 15f2f710a9b5bc822e62a2fb19b426e6ed59432b Mon Sep 17 00:00:00 2001 From: smyalygames Date: Sat, 4 Mar 2023 01:33:35 +0000 Subject: [PATCH] feat(arabot): remove unnecessary success react to daily --- src/commands/economy/daily.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/economy/daily.ts b/src/commands/economy/daily.ts index b87e0c9..7c13071 100644 --- a/src/commands/economy/daily.ts +++ b/src/commands/economy/daily.ts @@ -95,7 +95,10 @@ export class DailyCommand extends Command { content: info.message, embeds: info.embeds, }); - await message.react(info.success ? '✅' : '❌'); + + if (!info.success) { + await message.react('❌'); + } } private async runDaily(user: User, guild: Guild) {