Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
🎨 Display message if no roles are set for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
acollierr17 committed Dec 25, 2021
1 parent b6a926e commit 1421138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/Admin/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ module.exports = class ConfigCommand extends Command {
configEmbed
.setDescription(`Add/remove a staff role by doing \`${prefix + name} roles [role]\``)

if (viewRoles.length >= 1) configEmbed.addField('Staff Roles', viewRoles);
configEmbed.addField('Staff Roles', viewRoles || 'No roles set.');
configEmbed.addField('More Information', `[Link](${confDocs}#staff-roles)`);

message.channel.send(configEmbed);
Expand Down

0 comments on commit 1421138

Please sign in to comment.