Commit 347153fd authored by nanahira's avatar nanahira

add constructor in config schema

parent 3db57070
......@@ -4,6 +4,7 @@ import { Schema } from 'koishi';
@RegisterSchema()
export class PicsPluginConfig {
constructor(config: Partial<PicsPluginConfig>) {}
@DefineSchema({ description: '命令名', default: 'pic', hidden: true })
commandName: string;
......
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