#Formatting an embed footer text into a styled Unix Timestamp

11 messages · Page 1 of 1 (latest)

dawn horizon
#

I'd like to show in the footer of an embed message the date of a message when it has been created. I already converted the date to the Unix format with getTime() and I've applied the correct structure so that discord can recognize the format, but in the footer the date doesn't work. The wished result is the following last image, which is the exact date the embed gives: <t:1669889915:R> (< t:1669889915:R >).

thorn obsidian
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

cold steeple
#

You can use formatting only in embed description or field values

dawn horizon
#

Alright, good to know. Thanks!

wet crypt
atomic turret
wet crypt
#

^

dawn horizon
#

Is it possible to have two timeStamps then? Aka one that shows the date specified and the other that shows the default value

wet crypt
#

no i dont think so in the footer

dawn horizon
#

Alright, thanks anyway ❤️