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.
No description
No description
6 Replies
d.js toolkit
d.js toolkit2w ago
- 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!
Inky
Inky2w ago
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 Discord
HEATEX
HEATEXOP2w ago
Yes 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
Inky
Inky2w ago
That doesn’t justify ur code working tho The fact is when the text isn’t provided, nothing else runs but setFooter
⸸⛧Stealth⛧⸸
is everything else working properly? but the timestamp?

Did you find this page helpful?