diff --git a/src/commands/applyt2.ts b/src/commands/applyt2.ts index bf19a4d..285058e 100644 --- a/src/commands/applyt2.ts +++ b/src/commands/applyt2.ts @@ -22,9 +22,9 @@ export default class ApplyT2 extends Command { const loading = await this.loading(message.channel, 'Please wait a moment, processing application...'); const decision = await Report.tier2(account.userID, this.client.config.internalKey); - if (decision.status !== 'SUCCESS') { + if (decision.status === 'SUCCESS') { await loading.delete(); - this.success(message.channel, `__**Decision**__\n\n**Status:** ${decision.decision}\n**Processed by:** EDS (A\*01)`); + this.success(message.channel, `__**Decision**__\n\n**Status:** ${decision.decision}\n**Processed by:** EDS (A:01)`); if (decision.decision === 'APPROVED') { const tier = await this.client.db.Tier.findOne({ id: 2 }); @@ -47,7 +47,7 @@ export default class ApplyT2 extends Command { return null; } await loading.delete(); - return this.success(message.channel, `__**Decision**__\n\n**Status:** ${decision.decision}\n**Processed by:** EDS (A\*01)\n\n\n*Pre-Declines will not result in a hard pull, and they may be due to a server issue or insufficient information. You may want to contact a Staff member for further information.*`); + return this.success(message.channel, `__**Decision**__\n\n**Status:** ${decision.decision}\n**Processed by:** EDS (A:01)\n\n\n*Pre-Declines will not result in a hard pull, and they may be due to a server issue or insufficient information. You may want to contact a Staff member for further information.*`); } catch (error) { return this.client.util.handleError(error, message, this); }