mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 21:07:01 -06:00
dc3b5df684
* refactor(models): remove redundant generation model ref alias * refactor(types): remove redundant local aliases * refactor(types): preserve shipped model ref type
14 lines
400 B
TypeScript
14 lines
400 B
TypeScript
// Discord plugin module implements send target parsing behavior.
|
|
import {
|
|
parseDiscordTarget,
|
|
type DiscordTarget,
|
|
type DiscordTargetParseOptions,
|
|
} from "./target-parsing.js";
|
|
|
|
export type SendDiscordTarget = DiscordTarget;
|
|
|
|
export const parseDiscordSendTarget = (
|
|
raw: string,
|
|
options: DiscordTargetParseOptions = {},
|
|
): SendDiscordTarget | undefined => parseDiscordTarget(raw, options);
|