Commit 82b66b02 authored by nanahira's avatar nanahira

add constructor in config schema

parent 9ae2b277
......@@ -3,6 +3,7 @@ import { DefineSchema, RegisterSchema } from 'koishi-thirdeye';
@RegisterSchema()
export class ShadowbanPluginConfig {
constructor(config: Partial<ShadowbanPluginConfig>) {}
@DefineSchema({
description: 'Shadowban API 地址。',
default: 'https://sbapi.lv5.ac:444',
......
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