fix(src/commands/whois.ts): Make whois use the full resolver
parent
dd32619800
commit
0b556655d9
|
@ -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.***`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue