openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
2 lines • 303 B
JavaScript
//!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(`!`)}export{resolveCommandContextText as n,hasExplicitCommandContextText as t};