init
This commit is contained in:
commit
55ae41cb0c
1902 changed files with 513237 additions and 0 deletions
7
commands/clear/clear.ts
Normal file
7
commands/clear/clear.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import type { LocalCommandCall } from '../../types/command.js'
|
||||
import { clearConversation } from './conversation.js'
|
||||
|
||||
export const call: LocalCommandCall = async (_, context) => {
|
||||
await clearConversation(context)
|
||||
return { type: 'text', value: '' }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue