This commit is contained in:
Erik 2022-05-11 14:27:07 +03:00
parent 3cf1cb78d8
commit 71ba320356
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -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' };
}