diff --git a/src/commands/roleinfo.ts b/src/commands/roleinfo.ts index 6054447..9cde3df 100644 --- a/src/commands/roleinfo.ts +++ b/src/commands/roleinfo.ts @@ -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;