Update whois.ts
parent
28fc40763a
commit
7b9d71790d
|
@ -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.join(' '), message.channel.guild);
|
||||
member = this.client.util.resolveMember(args.join(' '), message.channel.guild);
|
||||
if (!member) {
|
||||
return message.channel.createMessage(`***${this.client.util.emojis.ERROR} Member not found.***`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue