mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 06:04:16 +02:00
feat(arabot): made time display when showing sus note nicer
This commit is contained in:
parent
2fa559113a
commit
2dcef435b1
@ -296,7 +296,7 @@ export class SusCommand extends Command {
|
||||
.setThumbnail(user.avatarURL()!)
|
||||
// TODO add a way to display more than 1 sus note
|
||||
.addField(
|
||||
`Sus ID: ${notes[notes.length - 1].id} | Moderator: ${mod} Date: ${notes[notes.length - 1].time}`,
|
||||
`Sus ID: ${notes[notes.length - 1].id} | Moderator: ${mod} Date: <t:${Math.floor(notes[notes.length - 1].time.getTime() / 1000)}>`,
|
||||
notes[notes.length - 1].note,
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user