From 74009f649948633c3c976485a6849cb5252d74e9 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 27 Jun 2020 23:51:36 -0400 Subject: [PATCH] fix issue where page logs for email are showing up as [DISCORD] --- 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 c7e3388..6f65c8d 100644 --- a/src/commands/page.ts +++ b/src/commands/page.ts @@ -133,7 +133,7 @@ export default class Page extends Command { const recipient = this.client.guilds.get(this.client.config.guildID).members.get(recipientEntry.individualAssignID); const sender = this.client.guilds.get(this.client.config.guildID).members.get(senderEntry.individualAssignID); if (!recipient || !sender) { - this.logPage({ number: senderNumber, user: 'N/A' }, { number: recipientNumber, user: 'N/A' }, 'discord', code); + this.logPage({ number: senderNumber, user: 'N/A' }, { number: recipientNumber, user: 'N/A' }, 'email', code); } else { this.logPage({ number: senderNumber, user: `${sender.username}#${sender.discriminator}` }, { number: recipientNumber, user: `${recipient.username}#${recipient.discriminator}` }, 'email', code); }