fix issue with page

merge-requests/6/merge
Matthew 2020-06-17 14:50:44 -04:00
parent d687ad6b79
commit fcd6f02399
No known key found for this signature in database
GPG Key ID: F841AB9BF496C194
1 changed files with 1 additions and 1 deletions

View File

@ -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" <internal@libraryofcode.org>',