forked from engineering/cloudservices
fix get referral
parent
4a6db79cef
commit
d059d430d2
|
@ -22,7 +22,7 @@ export default class AddReferral extends Command {
|
||||||
this.client.getDMChannel(account.userID).then((chan) => {
|
this.client.getDMChannel(account.userID).then((chan) => {
|
||||||
chan.createMessage('__**Referral - Application Approval**__\nAn applicant who used your referral code during the application process has been approved. Your referral count has been increased.');
|
chan.createMessage('__**Referral - Application Approval**__\nAn applicant who used your referral code during the application process has been approved. Your referral count has been increased.');
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
return this.success(message.channel, 'Added referral value to account.');
|
return this.success(message.channel, `Added referral value to account.\nReferrer: \`${account.username}\` | <@${account.userID}>`);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return this.client.util.handleError(error, message, this);
|
return this.client.util.handleError(error, message, this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue