mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
docs: add SnowflakeUtil (#9371)
This commit is contained in:
@@ -517,6 +517,17 @@ class Client extends BaseClient {
|
||||
|
||||
module.exports = Client;
|
||||
|
||||
/**
|
||||
* @class SnowflakeUtil
|
||||
* @classdesc This class is an alias for {@link https://www.npmjs.com/package/@sapphire/snowflake @sapphire/snowflake}'s
|
||||
* `DiscordSnowflake` class.
|
||||
*
|
||||
* Check their documentation
|
||||
* {@link https://www.sapphirejs.dev/docs/Documentation/api-utilities/classes/snowflake_src.Snowflake here}
|
||||
* to see what you can do.
|
||||
* @hideconstructor
|
||||
*/
|
||||
|
||||
/**
|
||||
* A {@link https://developer.twitter.com/en/docs/twitter-ids Twitter snowflake},
|
||||
* except the epoch is 2015-01-01T00:00:00.000Z.
|
||||
|
||||
Reference in New Issue
Block a user