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