Merge branch 'dev' of gitlab.libraryofcode.org:engineering/community-relations/backend into dev

master
Matthew 2021-12-09 21:07:55 -05:00
commit da81eeb11e
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ export default class Billing extends Command {
await redirect.save(); await redirect.save();
const chan = await this.client.getDMChannel(message.author.id); const chan = await this.client.getDMChannel(message.author.id);
await chan.createMessage(`__***Billing Account Portal***__\nClick here: https://loc.sh/${uid}\n\nYou will be redirected to your billing portal, please note the link expires after 5 minutes.`); await chan.createMessage(`__***Billing Account Portal***__\nClick here: https://loc.sh/${uid}\n\nYou will be redirected to your billing portal, please note the link expires after 5 minutes.`)
.catch(() => { return this.error(message.channel, 'Failed to privately send your billing portal link to you.'); });
return await this.success(message.channel, 'Your Billing Portal information has been DMed to you.'); return await this.success(message.channel, 'Your Billing Portal information has been DMed to you.');
} catch (err) { } catch (err) {
return this.client.util.handleError(err, message, this); return this.client.util.handleError(err, message, this);