fix: shard id in docs

This commit is contained in:
Skillz4Killz
2023-03-16 14:22:42 +00:00
parent 5b2fcd18a1
commit 0b195575e2
+2 -2
View File
@@ -148,9 +148,9 @@ app.all('/*', async (req, res) => {
// Identify A Shard
switch (req.body.type) {
case 'IDENTIFY_SHARD': {
logger.info(`[Shard] identifying ${SHARDS.has(req.body.shardId) ? 'existing' : 'new'} shard (${shardId})`);
logger.info(`[Shard] identifying ${SHARDS.has(req.body.shardId) ? 'existing' : 'new'} shard (${req.body.shardId})`);
const shard = SHARDS.get(req.body.shardId) ?? new DiscordenoShard({
id: shardId,
id: req.body.shardId,
connection: {
compress: req.body.compress,
intents: req.body.intents,