diff --git a/src/commands/whois.ts b/src/commands/whois.ts index 8c2eaa4..900d148 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -21,7 +21,7 @@ export default class Whois extends Command { if (!args[0]) member = message.member; else { // @ts-ignore - member = this.client.util.resolveMember(message, args[0], message.channel.guild); + member = this.client.util.resolveMember(message, args.join(' '), message.channel.guild); if (!member) { return message.channel.createMessage(`***${this.client.util.emojis.ERROR} Member not found.***`); }