import { type CreateGatewayManager } from "https://dotland.deno.dev/x/discordeno@17.0.0/gateway/mod.ts";
Properties
Delay in milliseconds to wait before spawning next shard. OPTIMAL IS ABOVE 5100. YOU DON'T WANT TO HIT THE RATE LIMIT!!!
Id of the first Shard which should get controlled by this manager.
NOTE: This is intended for testing purposes if big bots want to test the gateway on smaller scale. This is not recommended to be used in production.
Id of the last Shard which should get controlled by this manager.
NOTE: This is intended for testing purposes if big bots want to test the gateway on smaller scale. This is not recommended to be used in production.
optional
createShardOptions: Omit<CreateShard, | "id"
| "totalShards"
| "requestIdentify"
| "gatewayConfig"
Options which are used to create a new shard.