2025-08-03 06:50:19 +08:00
|
|
|
import { Plugin } from "./index"
|
|
|
|
|
|
2025-08-04 09:19:03 +08:00
|
|
|
export const ExamplePlugin: Plugin = async ({ app, client, $ }) => {
|
2025-08-03 06:50:19 +08:00
|
|
|
return {
|
|
|
|
|
permission: {},
|
2025-08-04 09:19:03 +08:00
|
|
|
tool: {
|
|
|
|
|
execute: {
|
|
|
|
|
async before(input, output) {
|
|
|
|
|
console.log("before", input, output)
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2025-08-03 06:50:19 +08:00
|
|
|
}
|
|
|
|
|
}
|