swc/crates/swc_bundler/tests/.cache/deno/8b82836ea351f8ab43db51362140df3d6e9cd245.ts
2021-11-09 20:42:49 +09:00

11 lines
455 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/channels/STAGE_INSTANCE_UPDATE.ts
import { eventHandlers } from "../../bot.ts";
import type { StageInstance } from "../../types/channels/stage_instance.ts";
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
export function handleStageInstanceUpdate(data: DiscordGatewayPayload) {
eventHandlers.stageInstanceUpdate?.(data.d as StageInstance);
}