Skip to content

Commit

Permalink
fix: better formatting for temp category
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno authored Nov 1, 2018
1 parent 280c98b commit ff96298
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/Settings/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ class Settings extends Command {
.join(', ');

if (message.guild) {
page.addField('Temp Channel Category', settings.tempCategory !== '0' ? settings.tempCategory : '✘', true);
page.addField('Temp Channel Category', settings.tempCategory !== '0'
&& typeof settings.tempCategory !== 'undefined'
? settings.tempCategory : '✘', true);
page.addField('LFG', settings.lfgChannel || '✘', true);
page.addField('Default Roles', defaultRoles.length ? defaultRoles : '✘', true);
page.addField('Vulgar Log', settings.vulgarLog || '✘', true);
Expand Down

0 comments on commit ff96298

Please sign in to comment.