@@ -845,7 +845,7 @@ class Client extends BaseClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calls {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval} on a script
|
* Calls {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/eval} on a script
|
||||||
* with the client as `this`.
|
* with the client as `this`.
|
||||||
* @param {string} script Script to eval
|
* @param {string} script Script to eval
|
||||||
* @returns {*}
|
* @returns {*}
|
||||||
|
|||||||
@@ -352,17 +352,17 @@ class WebSocketShard extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @external CloseEvent
|
* @external CloseEvent
|
||||||
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent}
|
* @see {@link https://developer.mozilla.org/docs/Web/API/CloseEvent}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @external ErrorEvent
|
* @external ErrorEvent
|
||||||
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent}
|
* @see {@link https://developer.mozilla.org/docs/Web/API/ErrorEvent}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @external MessageEvent
|
* @external MessageEvent
|
||||||
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent}
|
* @see {@link https://developer.mozilla.org/docs/Web/API/MessageEvent}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -457,10 +457,10 @@ module.exports = RequestHandler;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @external HTTPMethod
|
* @external HTTPMethod
|
||||||
* @see {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods}
|
* @see {@link https://developer.mozilla.org/docs/Web/HTTP/Methods}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @external Response
|
* @external Response
|
||||||
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Response}
|
* @see {@link https://developer.mozilla.org/docs/Web/API/Response}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ class Collector extends EventEmitter {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Allows collectors to be consumed with for-await-of loops
|
* Allows collectors to be consumed with for-await-of loops
|
||||||
* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of}
|
* @see {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/for-await...of}
|
||||||
*/
|
*/
|
||||||
async *[Symbol.asyncIterator]() {
|
async *[Symbol.asyncIterator]() {
|
||||||
const queue = [];
|
const queue = [];
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ let INCREMENT = BigInt(0);
|
|||||||
*/
|
*/
|
||||||
class SnowflakeUtil extends null {
|
class SnowflakeUtil extends null {
|
||||||
/**
|
/**
|
||||||
* A {@link https://developer.twitter.com/en/docs/twitter-ids Twitter snowflake},
|
* A {@link https://docs.x.com/resources/fundamentals/x-ids Twitter snowflake},
|
||||||
* except the epoch is 2015-01-01T00:00:00.000Z.
|
* except the epoch is 2015-01-01T00:00:00.000Z.
|
||||||
*
|
*
|
||||||
* If we have a snowflake '266241948824764416' we can represent it as binary:
|
* If we have a snowflake '266241948824764416' we can represent it as binary:
|
||||||
|
|||||||
Reference in New Issue
Block a user