1
0
Fork 0
refactor/models
Matthew 2020-10-06 23:02:02 -04:00
parent aea3604681
commit 0e7353d7f1
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 0 additions and 1 deletions

View File

@ -14,7 +14,6 @@ export default class ApplyT2 extends Command {
public async run(message: Message, args: string[]) { // eslint-disable-line
try {
if (!args.length) return this.client.commands.get('help').run(message, [this.name]);
const account = await this.client.db.Account.findOne({ userID: message.author.id });
if (!account) return this.error(message.channel, 'I can\'t find a CS Account for you.');
if (account.tier > 1) return this.error(message.channel, 'You cannot apply for Tier 2 if you already have Tier 2 or higher.');