2025-08-02 22:50:19 +00:00
|
|
|
import { Plugin } from "./index"
|
|
|
|
|
|
2025-08-04 01:19:03 +00:00
|
|
|
export const ExamplePlugin: Plugin = async ({ app, client, $ }) => {
|
2025-08-02 22:50:19 +00:00
|
|
|
return {
|
|
|
|
|
permission: {},
|
2025-08-04 01:42:45 +00:00
|
|
|
async "chat.params"(input, output) {
|
|
|
|
|
output.topP = 1
|
2025-08-04 01:19:03 +00:00
|
|
|
},
|
2025-08-02 22:50:19 +00:00
|
|
|
}
|
|
|
|
|
}
|