fix get referral

merge-requests/4/head
Matthew 2020-08-28 02:50:40 -04:00
parent 549aef5dfa
commit c3cef36a18
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 0 additions and 1 deletions

View File

@ -13,7 +13,6 @@ export default class GetReferral extends Command {
public async run(message: Message, args: string[]) {
try {
if (!args[0]) return this.client.commands.get('help').run(message, ['getreferral', this.name]);
const account = await this.client.db.Account.findOne({ userID: message.author.id });
if (!account) return this.error(message.channel, 'You do not have a Cloud Services account.');