From 249bf3f078f9fc3265fe76f79fb9b696640bc923 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Wed, 29 Jul 2020 00:32:12 -0400 Subject: [PATCH] fix whois cmd --- src/commands/whois.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/whois.ts b/src/commands/whois.ts index ab83fa5..256c2fc 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -21,7 +21,7 @@ export default class Whois extends Command { let member: Member; if (!args[0]) member = message.member; else { - member = this.client.util.resolveMember(args.join(' '), message.guild); + member = this.client.util.resolveMember(args.join(' '), this.mainGuild); } if (!member) {