Commit 5385aa43 authored by nanahira's avatar nanahira

fix plugin name

parent 116f1756
......@@ -2,7 +2,6 @@
import { DrawPluginConfig } from './config';
import {
DefinePlugin,
BasePlugin,
InjectLogger,
LifecycleEvents,
UseCommand,
......@@ -13,6 +12,7 @@ import {
PutUserName,
Renderer,
PutRenderer,
StarterPlugin,
} from 'koishi-thirdeye';
import { Logger, Random } from 'koishi';
import path from 'path';
......@@ -25,9 +25,9 @@ export * from './config';
type Decks = Record<string, string[]>;
@DefinePlugin({ name: 'myplugin', schema: DrawPluginConfig })
@DefinePlugin()
export default class DrawPlugin
extends BasePlugin<DrawPluginConfig>
extends StarterPlugin(DrawPluginConfig)
implements LifecycleEvents
{
@InjectLogger()
......
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