Commit 56c43b89 authored by nanahira's avatar nanahira

fix compile

parent 3c44472b
This diff is collapsed.
......@@ -47,12 +47,12 @@
"testEnvironment": "node"
},
"dependencies": {
"koishi-thirdeye": "^10.2.8",
"koishi-thirdeye": "^10.3.1",
"moment": "^2.29.3"
},
"peerDependencies": {
"koishi": "^4.7.4",
"koishi-plugin-pics": "^9.3.3"
"koishi": "^4.7.5",
"koishi-plugin-pics": "^9.4.1"
},
"devDependencies": {
"@koishijs/plugin-cache-lru": "^1.0.0-rc.0",
......@@ -67,9 +67,9 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^3.4.1",
"jest": "^28.0.3",
"koishi-plugin-pics": "^9.3.3",
"koishi-plugin-pics": "^9.4.1",
"koishi-plugin-picsource-heisi": "^6.0.3",
"koishi-plugin-picsource-lolicon": "^9.2.0",
"koishi-plugin-picsource-lolicon": "^9.2.3",
"koishi-plugin-picsource-miraikoi": "^1.0.2",
"koishi-plugin-picsource-yande": "^2.0.3",
"prettier": "^2.6.2",
......
......@@ -5,8 +5,9 @@ import {
PutOption,
SchemaOptions,
PutSession,
Selection,
} from 'koishi-thirdeye';
import { Adapter, Bot, Random, Selection, Session } from 'koishi';
import { Adapter, Bot, Random, Session } from 'koishi';
import path from 'path';
import * as fs from 'fs';
import moment from 'moment';
......
......@@ -14,6 +14,7 @@ import {
UseMiddleware,
OnPrivate,
PutBot,
selectContext,
} from 'koishi-thirdeye';
import { Adapter, Bot, Logger, Next, Session } from 'koishi';
import type PicsContainer from 'koishi-plugin-pics';
......@@ -77,7 +78,7 @@ export default class EdgingPlugin
implements LifecycleEvents
{
onApply() {
this.ctx.select(this.config.panelSelection).plugin(EdgingPanel);
selectContext(this.ctx, this.config.panelSelection).plugin(EdgingPanel);
dynamicInterval(
this.ctx,
this.wrapTry(() => this.processText(), 'process text'),
......
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