Commit 495d17de authored by nanahira's avatar nanahira

fix

parent 03b886a5
...@@ -16,6 +16,7 @@ import { ...@@ -16,6 +16,7 @@ import {
PluginDef, PluginDef,
OnPrivate, OnPrivate,
Reusable, Reusable,
Provide,
} from 'koishi-thirdeye'; } from 'koishi-thirdeye';
export * from './config'; export * from './config';
import AragamiPlugin, { CacheKey } from 'koishi-plugin-cache-aragami'; import AragamiPlugin, { CacheKey } from 'koishi-plugin-cache-aragami';
...@@ -29,6 +30,7 @@ export class SelfOnline { ...@@ -29,6 +30,7 @@ export class SelfOnline {
const base = StarterPlugin(OrderPickerConfig); const base = StarterPlugin(OrderPickerConfig);
@Provide('utility', { immediate: true })
@DefinePlugin() @DefinePlugin()
class Utility extends base { class Utility extends base {
@Inject(true) @Inject(true)
...@@ -44,6 +46,7 @@ class Utility extends base { ...@@ -44,6 +46,7 @@ class Utility extends base {
} }
} }
@Provide('panel', { immediate: true })
@DefinePlugin() @DefinePlugin()
class ControlPanel extends base { class ControlPanel extends base {
@Inject(true) @Inject(true)
...@@ -80,7 +83,7 @@ class ControlPanel extends base { ...@@ -80,7 +83,7 @@ class ControlPanel extends base {
@Reusable() @Reusable()
@UsingService('aragami') @UsingService('aragami')
@Isolate('panel', 'receiver', 'utility') @Isolate('panel', 'utility')
@OnPlatform('onebot') @OnPlatform('onebot')
@DefinePlugin() @DefinePlugin()
export default class OrderPicker extends base { export default class OrderPicker extends base {
......
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