From 71ba320356ebba9a4a5016736fd5825f3c336fcd Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Wed, 11 May 2022 14:27:07 +0300 Subject: [PATCH] bugfix --- src/structure/components/commands/utility/Selfrole.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/commands/utility/Selfrole.js b/src/structure/components/commands/utility/Selfrole.js index 54c9ef1..39c6394 100644 --- a/src/structure/components/commands/utility/Selfrole.js +++ b/src/structure/components/commands/utility/Selfrole.js @@ -60,7 +60,7 @@ class SelfroleCommand extends SlashCommand { index= 'COMMAND_SELFROLE_CLEAR_SUCCESS'; } - return { content: guild.format(index, params) + warning? `\n\n${warning}` : '', emoji: 'success' }; + return { content: guild.format(index, params) + (warning ? `\n\n${warning}` : ''), emoji: 'success' }; }