fix whois cmd
parent
8450b08abc
commit
249bf3f078
|
@ -21,7 +21,7 @@ export default class Whois extends Command {
|
||||||
let member: Member;
|
let member: Member;
|
||||||
if (!args[0]) member = message.member;
|
if (!args[0]) member = message.member;
|
||||||
else {
|
else {
|
||||||
member = this.client.util.resolveMember(args.join(' '), message.guild);
|
member = this.client.util.resolveMember(args.join(' '), this.mainGuild);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!member) {
|
if (!member) {
|
||||||
|
|
Loading…
Reference in New Issue