mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 00:09:08 +02:00
Fix
This commit is contained in:
@@ -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}**:
|
||||||
|
|||||||
Reference in New Issue
Block a user