Commit 8a45f2d6 authored by nanahira's avatar nanahira

Migrate schema to Config

parent 7e6276fd
......@@ -13,7 +13,7 @@ declare module 'koishi' {
export const name = 'thesaurus';
const plugin = new MyPlugin();
export const schema = plugin.schema;
export const Config = plugin.schema;
export const using = ['cache'];
export function apply(ctx: Context, config: MyPluginConfig) {
ctx.plugin(plugin, config);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment