diff --git a/src/commands/apply.ts b/src/commands/apply.ts index 1081cc3..7b4b9f4 100644 --- a/src/commands/apply.ts +++ b/src/commands/apply.ts @@ -99,6 +99,7 @@ export default class Apply extends Command { url: 'https://eds.libraryofcode.org/cs/t3-temp', validation: async (member: Member) => { const csAccount = await CloudServicesUtil.fetchAccountStatus(member.id, this.client.config.internalKey); + if (!csAccount) return false; const memberCheck = await this.client.db.mongo.Member.findOne({ userID: member.id }).lean().exec(); if (new Date() > memberCheck?.misc?.t3TemporaryExpiration?.date) return false; if (csAccount.tier === 3) return false;