This commit is contained in:
Daniel Odendahl Jr
2018-03-05 22:23:07 +00:00
parent c53eca459e
commit d7b5ffbbc4
+1 -1
View File
@@ -14,7 +14,7 @@ module.exports = class RoleListCommand extends Command {
} }
run(msg) { run(msg) {
const roles = msg.guild.settings.get('roles', []); const roles = msg.guild.settings.get('openRoles', []);
if (!roles.length) return msg.say('This server has no open roles...'); if (!roles.length) return msg.say('This server has no open roles...');
return msg.say(stripIndents` return msg.say(stripIndents`
**Roles available in ${msg.guild.name}**: **Roles available in ${msg.guild.name}**: