TimeStamp slash command v14.5.0

How's it going everyone? Right now, I'm making a discord bot that has basic utility commands and some fun ones too! I think it would be pretty damn useful for my bot to be able to convert a time(with an integer output of hour, minute, etc.) into a formatter timestamp (like this website does https://hammertime.cyou/). Does anyone know how to do this? I can't find it online.
7 Replies
d.js docs
d.js docs3y ago
• 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.
samp
sampOP3y ago
keep in mind I would like the user to be able to copy and paste it anywhere so maybe like t:1664784000:t i.e. without the <>
samp
sampOP3y ago
Ah thanks man! But that formats it to actual time I would like it to be formatted as a discord time stamp <t:1664784000:t> like this <t:1664784000:t>
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs3y ago
Documentation suggestion for @SkoopyDev:method time Formats a date into a short date-time interface TimestampStylesString A message formatting timestamp style, as defined in here. (more...)
samp
sampOP3y ago
Ah ok
Want results from more Discord servers?
Add your server