forked from engineering/cloudservices
change email address in cmds that send notification mail
parent
30714fb625
commit
751490a8b9
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue