fix issue with page
parent
d687ad6b79
commit
fcd6f02399
|
@ -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>',
|
||||
|
|
Loading…
Reference in New Issue