From 2c46db176ffb5ca769ef3aad0655f61284a88bae Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 28 Aug 2020 02:53:00 -0400 Subject: [PATCH] fix get referral --- src/commands/getreferral.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/getreferral.ts b/src/commands/getreferral.ts index b5b26cd..cc10bf8 100644 --- a/src/commands/getreferral.ts +++ b/src/commands/getreferral.ts @@ -17,7 +17,7 @@ export default class GetReferral extends Command { if (!account) return this.error(message.channel, 'You do not have a Cloud Services account.'); return this.client.getDMChannel(message.author.id).then((chan) => { - chan.createMessage(`__**CS Account Referral Code**__\n*Referral codes are considered to be somewhat private information. Applicants with referral codes have a greater chance of approval, don't refer someone you don't trust :).*\nYour referral code: \`${account.referralCode}\`\nReferrals Granted: \`${account.totalReferrals ? account.totalReferrals : '0'}`); + chan.createMessage(`__**CS Account Referral Code**__\n*Referral codes are considered to be somewhat private information. Applicants with referral codes have a greater chance of approval, don't refer someone you don't trust :).*\nYour referral code: \`${account.referralCode}\`\nReferrals Granted: \`${account.totalReferrals ? account.totalReferrals : '0'}\``); }).catch(() => this.error(message.channel, 'Could not send you a DM.')); } catch (err) { return this.client.util.handleError(err, message, this);