From 14211386bdcbd86c24642650db98c589179d6f97 Mon Sep 17 00:00:00 2001 From: Anthony Collier Date: Fri, 24 Dec 2021 21:00:45 -0500 Subject: [PATCH] :art: Display message if no roles are set for clarity --- src/commands/Admin/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/Admin/config.js b/src/commands/Admin/config.js index 08a5c2b..d822d9c 100644 --- a/src/commands/Admin/config.js +++ b/src/commands/Admin/config.js @@ -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);