From fcd6f02399513789df77623fe389830c44d85918 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Wed, 17 Jun 2020 14:50:44 -0400 Subject: [PATCH] fix issue with page --- src/commands/page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/page.ts b/src/commands/page.ts index e5b509c..c7e3388 100644 --- a/src/commands/page.ts +++ b/src/commands/page.ts @@ -135,7 +135,7 @@ export default class Page extends Command { if (!recipient || !sender) { this.logPage({ number: senderNumber, user: 'N/A' }, { number: recipientNumber, user: 'N/A' }, 'discord', code); } else { - this.logPage({ number: senderNumber, user: `${sender.username}#${sender.discriminator}` }, { number: recipientNumber, user: `${recipient.username}#${recipient.discriminator}` }, 'discord', code); + this.logPage({ number: senderNumber, user: `${sender.username}#${sender.discriminator}` }, { number: recipientNumber, user: `${recipient.username}#${recipient.discriminator}` }, 'email', code); } await this.client.util.transporter.sendMail({ from: '"LOC Paging System" ',