Snowflake
A unique identifier for entities used by Discord.
Snowflakes are IDs with a timestamp, which makes them comparable based on their timestamp.
Constructors
Properties
Link copied to clipboard
The raw value of this Snowflake as specified by the Discord Developer Documentation.
Functions
Link copied to clipboard
Compares this Snowflake to another Snowflake.
Link copied to clipboard
Returns timestamp for use in destructuring declarations.
Link copied to clipboard
Returns workerId for use in destructuring declarations.
Link copied to clipboard
Returns processId for use in destructuring declarations.
Link copied to clipboard
Returns increment for use in destructuring declarations.
Link copied to clipboard