From c55f2cd07728e828928735582c9fe8c4adc259e0 Mon Sep 17 00:00:00 2001 From: smyalygames Date: Thu, 27 Oct 2022 02:39:00 +0100 Subject: [PATCH] fix(arabot): stop command from being run if vegan --- src/commands/roles/convinced.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/roles/convinced.ts b/src/commands/roles/convinced.ts index c15b73e..ea9e676 100644 --- a/src/commands/roles/convinced.ts +++ b/src/commands/roles/convinced.ts @@ -151,6 +151,8 @@ class ConvincedCommand extends Command { await message.reply({ content: `${user} is already vegan!`, }); + await message.react('❌'); + return; } // Checks if the user has Convinced and to give them or remove them based on if they have it