Commit 4cc9043f authored by nanahira's avatar nanahira

fix immediate things

parent 5a69f938
......@@ -33,7 +33,7 @@ const base = StarterPlugin(OrderPickerConfig);
@Provide('utility', { immediate: true })
@DefinePlugin()
class Utility extends base {
@Inject(true)
@Inject()
private aragami: AragamiPlugin;
async isOnline(selfId: string) {
......@@ -48,7 +48,7 @@ class Utility extends base {
@DefinePlugin()
class ControlPanel extends base {
@Inject(true)
@Inject()
private uitlity: Utility;
@UseCommand('order', '抢单管理', { empty: true })
......@@ -80,7 +80,6 @@ class ControlPanel extends base {
}
}
@Reusable()
@UsingService('aragami')
@Isolate('utility')
@OnPlatform('onebot')
......
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