Commit 0c357515 authored by nanahira's avatar nanahira

add constructor in config schema

parent f652fae6
......@@ -6,6 +6,7 @@ import { renderTemplate } from './utility';
@RegisterSchema()
export class YGOCardConfig {
constructor(config: Partial<YGOCardConfig>) {}
@DefineSchema({ type: 'string', description: '命令名', default: 'card' })
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