fixes to roleinfo SO BABY COME LIGHT ME UP
parent
fa4e228571
commit
b5e8230940
|
@ -17,7 +17,7 @@ export default class Roleinfo extends Command {
|
|||
try {
|
||||
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.');
|
||||
|
||||
const perms = role.permissions;
|
||||
|
|
Loading…
Reference in New Issue