Files
leon-ai--leon/skills/native/timer_skill/src/actions/cancel_timer.ts
T
2026-07-13 12:44:08 +08:00

11 lines
275 B
TypeScript

import type { ActionFunction } from '@sdk/types'
import { leon } from '@sdk/leon'
import { deleteAllTimersMemory } from '../lib/memory'
export const run: ActionFunction = async function () {
await deleteAllTimersMemory()
await leon.answer({ key: 'timer_canceled' })
}