From f45e9418b3dc9d62fb85c1b0f0d771bdc666a0a0 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Tue, 16 Jun 2020 22:43:16 -0400 Subject: [PATCH] fix page logging again --- 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 505b924..9b1a8c0 100644 --- a/src/commands/page.ts +++ b/src/commands/page.ts @@ -66,7 +66,7 @@ export default class Page extends Command { public logPage(sender: { number: string, user?: string }, recipient: { number: string, user?:string }, type: 'discord' | 'email', code: string): void { const chan = this.client.guilds.get(this.client.config.guildID).channels.get('722636436716781619'); - chan.createMessage(`***[${type.toUpperCase}] \`${sender.number} (${sender.user ? sender.user : ''})\` sent a page to \`${recipient.number} (${recipient.user ? recipient.user : ''})\` with code \`${code}\`.***`); + chan.createMessage(`***[${type.toUpperCase()}] \`${sender.number} (${sender.user ? sender.user : ''})\` sent a page to \`${recipient.number} (${recipient.user ? recipient.user : ''})\` with code \`${code}\`.***`); this.client.util.signale.log(`PAGE (${type.toUpperCase()})| TO: ${recipient.number}, FROM: ${sender.number}, CODE: ${code}`); }