wip: plugin load from package

This commit is contained in:
Dax Raad
2025-08-03 21:19:03 -04:00
parent 9ab3462821
commit 1bac46612c
6 changed files with 332 additions and 11 deletions

View File

@@ -1,7 +1,14 @@
import { Plugin } from "./index"
export const ExamplePlugin: Plugin = async ({ app, client }) => {
export const ExamplePlugin: Plugin = async ({ app, client, $ }) => {
return {
permission: {},
tool: {
execute: {
async before(input, output) {
console.log("before", input, output)
},
},
},
}
}