Commit 5f5a082d authored by nanahira's avatar nanahira

add http settings

parent 2b3c2111
This diff is collapsed.
......@@ -28,11 +28,11 @@
},
"homepage": "https://github.com/koishijs/koishi-plugin-picsource-lolicon",
"dependencies": {
"koishi-thirdeye": "^11.1.14"
"koishi-thirdeye": "^11.1.16"
},
"peerDependencies": {
"koishi": "^4.10.4",
"koishi-plugin-pics": "^10.2.1"
"koishi": "^4.10.6",
"koishi-plugin-pics": "^10.6.1"
},
"devDependencies": {
"@koishijs/plugin-console": "^4.7.1",
......
......@@ -3,15 +3,11 @@ import { PicSourceLoliconPluginConfig } from './config';
import { PicResult, PicSourcePlugin } from 'koishi-plugin-pics';
import { LoliconReturnMessage } from './def';
import { DefinePlugin, Inject } from 'koishi-thirdeye';
import { Quester } from 'koishi';
@DefinePlugin()
export default class PicSourceLolicon extends PicSourcePlugin(
PicSourceLoliconPluginConfig,
) {
@Inject(true)
private http: Quester;
async randomPic(picTags: string[]): Promise<PicResult> {
if (picTags.length > 3) {
return;
......
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