-
-
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
, orArrow
object to convert -
timestamp_type
: ATimestampType
to 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_TIME
LONG_TIME
SHORT_DATE
LONG_DATE
SHORT_DATETIME
LONG_DATETIME
RELATIVE