From b5e82309402df8d21dd4ee2012cd952e7fd6f9de Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 20 Sep 2020 16:55:03 -0400 Subject: [PATCH] fixes to roleinfo SO BABY COME LIGHT ME UP --- src/commands/roleinfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;