mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
11 lines
416 B
TypeScript
11 lines
416 B
TypeScript
// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/handlers/misc/TYPING_START.ts
|
|
|
|
|
|
import { eventHandlers } from "../../bot.ts";
|
|
import type { DiscordGatewayPayload } from "../../types/gateway/gateway_payload.ts";
|
|
import type { TypingStart } from "../../types/misc/typing_start.ts";
|
|
|
|
export function handleTypingStart(data: DiscordGatewayPayload) {
|
|
eventHandlers.typingStart?.(data.d as TypingStart);
|
|
}
|