Embed - Remove timestamp
Hi, I started creating an embed creator Discord bot, but when I set the timestamp to 1 and create a new Date, I can't remove it after setting the timestamp back to 0. I tried
embed.setTimestamp(null)
, embed.setTimestamp()
, embed.clearTimestamp()
, and even delete embed.footer
,but nothing works.

6 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!You didn’t set your filter correctly
The key must always be filter, not filter2
filter: filter2
Are you sure that part actually runs?
You have no footer text, so supposedly none of that would run in the first place. Just the part that removes the footer text
Not sure ur aware that setFooter is only for the text and image. Timestamp isn’t consider part of the footer according to DiscordYes everything works fine, but when I set the timestamp and reopen the modal to remove it, it still exists
yes I know, but I want to manage it within a single modal
That doesn’t justify ur code working tho
The fact is when the text isn’t provided, nothing else runs but setFooter
is everything else working properly? but the timestamp?