From 751490a8b9d1c8cc0d42bac730a0ab12ec118dbb Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 18 Jan 2020 00:12:50 -0500 Subject: [PATCH] change email address in cmds that send notification mail --- src/commands/createaccount.ts | 2 +- src/commands/cwg_create.ts | 2 +- src/commands/deleteaccount.ts | 2 +- src/commands/lock.ts | 2 +- src/commands/notify.ts | 2 +- src/commands/warn.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/commands/createaccount.ts b/src/commands/createaccount.ts index 6ca42a7..93f85e6 100644 --- a/src/commands/createaccount.ts +++ b/src/commands/createaccount.ts @@ -48,7 +48,7 @@ export default class CreateAccount extends Command { this.client.util.transport.sendMail({ to: args[1], - from: 'Library of Code sp-us | Cloud Services ', + from: 'Library of Code sp-us | Cloud Services ', subject: 'Your account has been created', html: ` diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index ef145c1..7ac1ee0 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -68,7 +68,7 @@ export default class CWG_Create extends Command { this.client.getDMChannel(account.userID).then((r) => r.createMessage({ embed })); await this.client.util.transport.sendMail({ to: account.emailAddress, - from: 'Library of Code sp-us | Support Team ', + from: 'Library of Code sp-us | Support Team ', subject: 'Your domain has been binded', html: `

Library of Code sp-us | Cloud Services

diff --git a/src/commands/deleteaccount.ts b/src/commands/deleteaccount.ts index 5abe7d2..694fb79 100644 --- a/src/commands/deleteaccount.ts +++ b/src/commands/deleteaccount.ts @@ -44,7 +44,7 @@ export default class DeleteAccount extends Command { this.client.util.transport.sendMail({ to: account.emailAddress, - from: 'Library of Code sp-us | Cloud Services ', + from: 'Library of Code sp-us | Cloud Services ', subject: 'Your account has been deleted', html: `

Library of Code | Cloud Services

diff --git a/src/commands/lock.ts b/src/commands/lock.ts index 239cc4b..b85ec33 100644 --- a/src/commands/lock.ts +++ b/src/commands/lock.ts @@ -35,7 +35,7 @@ export default class Lock extends Command { this.client.util.transport.sendMail({ to: account.emailAddress, - from: 'Library of Code sp-us | Cloud Services ', + from: 'Library of Code sp-us | Cloud Services ', subject: 'Your account has been locked', html: `

Library of Code | Cloud Services

diff --git a/src/commands/notify.ts b/src/commands/notify.ts index e326a0f..ff3ff1e 100644 --- a/src/commands/notify.ts +++ b/src/commands/notify.ts @@ -34,7 +34,7 @@ export default class Notify extends Command { this.client.createMessage('580950455581147146', { embed }); this.client.util.transport.sendMail({ to: account.emailAddress, - from: 'Library of Code sp-us | Cloud Services ', + from: 'Library of Code sp-us | Cloud Services ', subject: 'Notification', html: `

Library of Code sp-us | Cloud Services

diff --git a/src/commands/warn.ts b/src/commands/warn.ts index bd5ce22..49d66af 100644 --- a/src/commands/warn.ts +++ b/src/commands/warn.ts @@ -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}.***`); this.client.util.transport.sendMail({ to: account.emailAddress, - from: 'Library of Code sp-us | Cloud Services ', + from: 'Library of Code sp-us | Cloud Services ', subject: 'Your account has been warned', html: `

Library of Code sp-us | Cloud Services