fixes
parent
e39735dd74
commit
6d1671daef
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue