mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 12:54:17 +02:00
Merge pull request #41 from smyalygames/main
feat(arabot): made time display when showing sus note nicer
This commit is contained in:
commit
53129907ed
@ -296,7 +296,7 @@ export class SusCommand extends Command {
|
|||||||
.setThumbnail(user.avatarURL()!)
|
.setThumbnail(user.avatarURL()!)
|
||||||
// TODO add a way to display more than 1 sus note
|
// TODO add a way to display more than 1 sus note
|
||||||
.addField(
|
.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,
|
notes[notes.length - 1].note,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user