Files
openclaw/extensions/discord/src/send.typing.ts
2026-04-29 14:22:58 +01:00

10 lines
373 B
TypeScript

import { resolveDiscordRest } from "./client.js";
import { sendChannelTyping } from "./internal/discord.js";
import type { DiscordReactOpts } from "./send.types.js";
export async function sendTypingDiscord(channelId: string, opts: DiscordReactOpts) {
const rest = resolveDiscordRest(opts);
await sendChannelTyping(rest, channelId);
return { ok: true, channelId };
}