fixes to roleinfo SO BABY COME LIGHT ME UP

pull/29/head
Matthew 2020-09-20 16:55:03 -04:00
parent fa4e228571
commit b5e8230940
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export default class Roleinfo extends Command {
try { try {
if (!args[0]) return this.client.commands.get('help').run(message, [this.name]); if (!args[0]) return this.client.commands.get('help').run(message, [this.name]);
const role = this.client.util.resolveRole(args[0], this.mainGuild); const role = this.client.util.resolveRole(args.join(' '), this.mainGuild);
if (!role) return this.error(message.channel, 'Could not find role.'); if (!role) return this.error(message.channel, 'Could not find role.');
const perms = role.permissions; const perms = role.permissions;