mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 06:50:41 +00:00
10 lines
373 B
TypeScript
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 };
|
|
}
|