- Preparing search index...
- The search index is not available
DJS-Bot
Interface IShardingStrategy
Methods
connect
- connect(): Awaitable<void>
-
destroy
- destroy(options?): Awaitable<void>
-
send
- send(shardId, payload): Awaitable<void>
-
Parameters
-
shardId: number
-
payload: GatewaySendPayload
spawn
- spawn(shardIds): Awaitable<void>
-
Strategies responsible for spawning, initializing connections, destroying shards, and relaying events