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) {