fix(src/commands/whois.ts): Make whois use the full resolver

merge-requests/2/head
Null 2020-04-14 23:13:47 -05:00
parent dd32619800
commit 0b556655d9
No known key found for this signature in database
GPG Key ID: CFD79C1EC586E7BD
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export default class Whois extends Command {
if (!args[0]) member = message.member; if (!args[0]) member = message.member;
else { else {
// @ts-ignore // @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) { if (!member) {
return message.channel.createMessage(`***${this.client.util.emojis.ERROR} Member not found.***`); return message.channel.createMessage(`***${this.client.util.emojis.ERROR} Member not found.***`);
} }