-
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ben Soyka edited this page Nov 20, 2021
·
3 revisions
Welcome to the discord-timestamps documentation!
A function to format a timestamp for Discord
-
timestamp: Anint,float, orArrowobject to convert -
timestamp_type: ATimestampTypeto use as the timestamp format
A str such as <t:1609459200>
An Enum with all possible timestamp formats
The following are valid dot properties:
SHORT_TIMELONG_TIMESHORT_DATELONG_DATESHORT_DATETIMELONG_DATETIMERELATIVE