From 79dae33facd636a77eee2e5a949e5751cdfb84f3 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 6 Mar 2021 13:39:31 -0500 Subject: [PATCH] fix hiro's fuckups x2 --- src/commands/profile.ts | 2 +- src/commands/whois.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/profile.ts b/src/commands/profile.ts index 2e33716..20978a4 100644 --- a/src/commands/profile.ts +++ b/src/commands/profile.ts @@ -10,7 +10,7 @@ export default class Profile extends Command { super(client); this.name = 'profile'; this.description = 'Manages your profile on CR.'; - this.usage = 'profile \n*Provide no value in subcommand to clear data.'; + this.usage = 'profile \n*Provide no value in subcommand to clear data.*'; this.permissions = 0; this.enabled = true; this.subcmds = [Profile_Bio, Profile_GitHub, Profile_Gitlab]; diff --git a/src/commands/whois.ts b/src/commands/whois.ts index bf47cbf..183f4db 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -56,7 +56,7 @@ export default class Whois extends Command { if (ackResolve?.extension) { description += `☎️ ${ackResolve.extension}\n`; } - const memberProfile = await this.client.db.Member.findOne({ userID: message.author.id }).lean().exec(); + const memberProfile = await this.client.db.Member.findOne({ userID: member.id }).lean().exec(); if (memberProfile?.additional?.gitlab) { description += `${emotes.gitlab} ${memberProfile?.additional.gitlab}\n`; }