import { type CreateShardManager } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";
Properties
optional
createShardOptions: Omit<CreateShard, | "id"
| "totalShards"
| "requestIdentify"
| "gatewayConfig"
Options which are used to create a new Shard.
gatewayConfig: PickPartial<ShardGatewayConfig, "token">
Gateway configuration which is used when creating a Shard.
Methods
handleMessage(shard: Shard, message: DiscordGatewayPayload): unknown
This function is used when a shard receives any message from Discord.