Skip to content

Commit

Permalink
docs: add SnowflakeUtil (#9371)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Apr 13, 2023
1 parent fcb3a1a commit 8ffcf77
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/discord.js/src/client/Client.js
Expand Up @@ -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.
Expand Down

0 comments on commit 8ffcf77

Please sign in to comment.