pull/29/head
Matthew 2020-09-10 01:48:11 -04:00
parent e39735dd74
commit 6d1671daef
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export default class Notes extends Command {
} else { } else {
for (const note of notes.sort((a, b) => b.date.getTime() - a.date.getTime())) { for (const note of notes.sort((a, b) => b.date.getTime() - a.date.getTime())) {
noteArray.push({ noteArray.push({
name: `${note._id}${note.category === '' ? '' : `, ${note.category}`} | ${note.date.toLocaleString('en-us')} ET`, name: `${note._id}${note.category === '' ? '' : `, ${note.category}`} | ${note.date.toLocaleString('en-us')} ET | Staff: ${this.client.users.get(note.staffID) ? `${this.client.users.get(note.staffID).username}#${this.client.users.get(note.staffID).discriminator}` : 'N/A'}`,
value: note.text, value: note.text,
inline: true, inline: true,
}); });