mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 11:10:20 +00:00
15 lines
410 B
TypeScript
15 lines
410 B
TypeScript
import {
|
|
parseDiscordTarget,
|
|
type DiscordTarget,
|
|
type DiscordTargetParseOptions,
|
|
} from "./target-parsing.js";
|
|
|
|
export type SendDiscordTarget = DiscordTarget;
|
|
|
|
export type SendDiscordTargetParseOptions = DiscordTargetParseOptions;
|
|
|
|
export const parseDiscordSendTarget = (
|
|
raw: string,
|
|
options: SendDiscordTargetParseOptions = {},
|
|
): SendDiscordTarget | undefined => parseDiscordTarget(raw, options);
|