From 526e5cda314d31688f78dda57a1ef0457f590845 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 1 Nov 2020 04:32:24 -0500 Subject: [PATCH] change offer to preqal --- src/commands/offer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/offer.ts b/src/commands/offer.ts index b631210..7f9b423 100644 --- a/src/commands/offer.ts +++ b/src/commands/offer.ts @@ -3,11 +3,11 @@ import jwt from 'jsonwebtoken'; import { Message } from 'eris'; import { Client, Command } from '../class'; -export default class Score extends Command { +export default class Offer extends Command { constructor(client: Client) { super(client); this.name = 'offer'; - this.description = 'Pre-approves a member for an offer. Will run a hard-pull automatically on acceptance.'; + this.description = 'Pre-qualifies a member for an offer. Will run a hard-pull automatically on acceptance.'; this.usage = `${this.client.config.prefix}offer :`; this.permissions = 4; this.aliases = ['qualify']; @@ -40,7 +40,7 @@ export default class Score extends Command { date: new Date(), }, this.client.config.internalKey, { expiresIn: '12h' }); this.client.getDMChannel(member.user.id).then((chan) => { - chan.createMessage(`__**Offer Pre-Approval**__\nYou have been pre-approved for an offer! If you wish to accept this offer, please enter the offer code at https://report.libraryofcode.org/. Do not share this code with anyone else. This offer automatically expires in 12 hours. Your report will be Hard Inquiried immediately after accepting this offer.\n\n**Department:** ${dept.toUpperCase()}\n**Offer for:** ${name}\n\n\`${token}\``); + chan.createMessage(`__**Offer Pre-Qualified**__\nYou have been pre-approved for an offer! If you wish to accept this offer, please enter the offer code at https://report.libraryofcode.org/. Do not share this code with anyone else. This offer automatically expires in 12 hours. Your report will be Hard Inquiried immediately after accepting this offer.\n\n**Department:** ${dept.toUpperCase()}\n**Offer for:** ${name}\n\n\`${token}\``); }).catch(() => this.error(message.channel, 'Could not DM member.')); return this.success(message.channel, `Offer sent.\n\n\`${token}\``); } catch (err) {