From 6d1671daef4cf17b0d2bd122d543ec0273908ae6 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 10 Sep 2020 01:48:11 -0400 Subject: [PATCH] fixes --- src/commands/notes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/notes.ts b/src/commands/notes.ts index 5f81fb2..6c3b5a7 100644 --- a/src/commands/notes.ts +++ b/src/commands/notes.ts @@ -59,7 +59,7 @@ export default class Notes extends Command { } else { for (const note of notes.sort((a, b) => b.date.getTime() - a.date.getTime())) { 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, inline: true, });