1
0
Fork 0

change email address in cmds that send notification mail

refactor/models
Matthew 2020-01-18 00:12:50 -05:00
parent 30714fb625
commit 751490a8b9
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
6 changed files with 6 additions and 6 deletions

View File

@ -48,7 +48,7 @@ export default class CreateAccount extends Command {
this.client.util.transport.sendMail({ this.client.util.transport.sendMail({
to: args[1], to: args[1],
from: 'Library of Code sp-us | Cloud Services <support@libraryofcode.org>', from: 'Library of Code sp-us | Cloud Services <help@libraryofcode.org>',
subject: 'Your account has been created', subject: 'Your account has been created',
html: ` html: `
<body> <body>

View File

@ -68,7 +68,7 @@ export default class CWG_Create extends Command {
this.client.getDMChannel(account.userID).then((r) => r.createMessage({ embed })); this.client.getDMChannel(account.userID).then((r) => r.createMessage({ embed }));
await this.client.util.transport.sendMail({ await this.client.util.transport.sendMail({
to: account.emailAddress, to: account.emailAddress,
from: 'Library of Code sp-us | Support Team <support@libraryofcode.org>', from: 'Library of Code sp-us | Support Team <help@libraryofcode.org>',
subject: 'Your domain has been binded', subject: 'Your domain has been binded',
html: ` html: `
<h1>Library of Code sp-us | Cloud Services</h1> <h1>Library of Code sp-us | Cloud Services</h1>

View File

@ -44,7 +44,7 @@ export default class DeleteAccount extends Command {
this.client.util.transport.sendMail({ this.client.util.transport.sendMail({
to: account.emailAddress, to: account.emailAddress,
from: 'Library of Code sp-us | Cloud Services <support@libraryofcode.org>', from: 'Library of Code sp-us | Cloud Services <help@libraryofcode.org>',
subject: 'Your account has been deleted', subject: 'Your account has been deleted',
html: ` html: `
<h1>Library of Code | Cloud Services</h1> <h1>Library of Code | Cloud Services</h1>

View File

@ -35,7 +35,7 @@ export default class Lock extends Command {
this.client.util.transport.sendMail({ this.client.util.transport.sendMail({
to: account.emailAddress, to: account.emailAddress,
from: 'Library of Code sp-us | Cloud Services <support@libraryofcode.org>', from: 'Library of Code sp-us | Cloud Services <help@libraryofcode.org>',
subject: 'Your account has been locked', subject: 'Your account has been locked',
html: ` html: `
<h1>Library of Code | Cloud Services</h1> <h1>Library of Code | Cloud Services</h1>

View File

@ -34,7 +34,7 @@ export default class Notify extends Command {
this.client.createMessage('580950455581147146', { embed }); this.client.createMessage('580950455581147146', { embed });
this.client.util.transport.sendMail({ this.client.util.transport.sendMail({
to: account.emailAddress, to: account.emailAddress,
from: 'Library of Code sp-us | Cloud Services <support@libraryofcode.org>', from: 'Library of Code sp-us | Cloud Services <help@libraryofcode.org>',
subject: 'Notification', subject: 'Notification',
html: ` html: `
<h1>Library of Code sp-us | Cloud Services</h1> <h1>Library of Code sp-us | Cloud Services</h1>

View File

@ -25,7 +25,7 @@ export default class Warn extends Command {
edit.edit(`***${this.client.stores.emojis.success} Account ${account.username} has been warned by Moderator ${message.author.username}#${message.author.discriminator}.***`); edit.edit(`***${this.client.stores.emojis.success} Account ${account.username} has been warned by Moderator ${message.author.username}#${message.author.discriminator}.***`);
this.client.util.transport.sendMail({ this.client.util.transport.sendMail({
to: account.emailAddress, to: account.emailAddress,
from: 'Library of Code sp-us | Cloud Services <support@libraryofcode.org>', from: 'Library of Code sp-us | Cloud Services <help@libraryofcode.org>',
subject: 'Your account has been warned', subject: 'Your account has been warned',
html: ` html: `
<h1>Library of Code sp-us | Cloud Services</h1> <h1>Library of Code sp-us | Cloud Services</h1>