feat(Shard): shard-specific broadcastEval/fetchClientValues + shard Id util (#4991)

This commit is contained in:
Matt (IPv4) Cowley
2020-11-22 12:35:18 +00:00
committed by GitHub
parent 643f96c79b
commit 2a6c363a8a
7 changed files with 83 additions and 28 deletions

View File

@@ -79,6 +79,15 @@ class SnowflakeUtil {
});
return res;
}
/**
* Discord's epoch value (2015-01-01T00:00:00.000Z).
* @type {number}
* @readonly
*/
static get EPOCH() {
return EPOCH;
}
}
module.exports = SnowflakeUtil;