Commit 261acfc0 authored by nanahira's avatar nanahira

add constructor in config schema

parent af855767
......@@ -3,6 +3,7 @@ import { DefineSchema, RegisterSchema } from 'koishi-thirdeye';
@RegisterSchema()
export class TabulatePluginConfig {
constructor(config: Partial<TabulatePluginConfig>) {}
@DefineSchema({ description: '比赛的超时时间', default: 7200000 })
saveTime: number;
}
......
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