UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

11 lines (10 loc) • 346 B
//#region src/auto-reply/reply/context-text.ts function resolveCommandContextText(e) { return e.commandText.trim(); } function hasExplicitCommandContextText(e) { const t = resolveCommandContextText(e); return t.startsWith("/") || t.startsWith("!"); } //#endregion export { resolveCommandContextText as n, hasExplicitCommandContextText as t };