Merge branch 'dev'
commit
4642e38a5a
|
@ -135,7 +135,7 @@ export default class Page extends Command {
|
||||||
if (!recipient || !sender) {
|
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' }, 'discord', code);
|
||||||
} else {
|
} 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({
|
await this.client.util.transporter.sendMail({
|
||||||
from: '"LOC Paging System" <internal@libraryofcode.org>',
|
from: '"LOC Paging System" <internal@libraryofcode.org>',
|
||||||
|
|
Loading…
Reference in New Issue