Commit 7c98af65 authored by nanahira's avatar nanahira

use koishi-target-def and fix incorrect text

parent c92c9518
......@@ -9,7 +9,7 @@
"version": "8.6.8",
"license": "MIT",
"dependencies": {
"koishi-thirdeye": "^9.2.12",
"koishi-thirdeye": "^9.2.14",
"lodash": "^4.17.21"
},
"devDependencies": {
......@@ -5214,28 +5214,28 @@
}
},
"node_modules/koishi-decorators": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-1.3.1.tgz",
"integrity": "sha512-UZisxMHvy9SyxyqqHntqCYVVfZ764VtO4bJ6RXKSjJAziBV0c+zLNzQC5nYWbKBsDQ4Fae44M2NJaqnmScAmNA==",
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-1.3.2.tgz",
"integrity": "sha512-akGFELeybKnjyPQbfHMGhLTRb3CigQPFTcArFt++SGQCSZ9sFpkpUS04V3/HlJoJLSKKq7pXd10q0cOPnfFYZQ==",
"dependencies": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"typed-reflector": "^1.0.9"
"typed-reflector": "^1.0.10"
},
"peerDependencies": {
"koishi": "^4.4.2"
}
},
"node_modules/koishi-thirdeye": {
"version": "9.2.12",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-9.2.12.tgz",
"integrity": "sha512-cYPmXcGBzMGWboyelbg2cX8EeBhQvgh8ZJhMiMypYXeLHz5z46g1u3VDoS6dz35f3DYgzMtyMsUNQbz4SRAu6A==",
"version": "9.2.14",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-9.2.14.tgz",
"integrity": "sha512-K4JK6nUnX8JqDY3OAkN43NgyWfpjHp1uVjM3LQuEr+IcUVbVPGfZ7bmHET/Ao43dc7zcfFzGTj5UrHkPwIv6wQ==",
"dependencies": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
"koishi-decorators": "^1.3.1",
"koishi-decorators": "^1.3.2",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"schemastery-gen": "^3.1.2",
......@@ -11709,25 +11709,25 @@
}
},
"koishi-decorators": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-1.3.1.tgz",
"integrity": "sha512-UZisxMHvy9SyxyqqHntqCYVVfZ764VtO4bJ6RXKSjJAziBV0c+zLNzQC5nYWbKBsDQ4Fae44M2NJaqnmScAmNA==",
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-1.3.2.tgz",
"integrity": "sha512-akGFELeybKnjyPQbfHMGhLTRb3CigQPFTcArFt++SGQCSZ9sFpkpUS04V3/HlJoJLSKKq7pXd10q0cOPnfFYZQ==",
"requires": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"typed-reflector": "^1.0.9"
"typed-reflector": "^1.0.10"
}
},
"koishi-thirdeye": {
"version": "9.2.12",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-9.2.12.tgz",
"integrity": "sha512-cYPmXcGBzMGWboyelbg2cX8EeBhQvgh8ZJhMiMypYXeLHz5z46g1u3VDoS6dz35f3DYgzMtyMsUNQbz4SRAu6A==",
"version": "9.2.14",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-9.2.14.tgz",
"integrity": "sha512-K4JK6nUnX8JqDY3OAkN43NgyWfpjHp1uVjM3LQuEr+IcUVbVPGfZ7bmHET/Ao43dc7zcfFzGTj5UrHkPwIv6wQ==",
"requires": {
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
"koishi-decorators": "^1.3.1",
"koishi-decorators": "^1.3.2",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"schemastery-gen": "^3.1.2",
......
......@@ -29,7 +29,7 @@
},
"homepage": "https://github.com/koishijs/koishi-plugin-pics",
"dependencies": {
"koishi-thirdeye": "^9.2.12",
"koishi-thirdeye": "^9.2.14",
"lodash": "^4.17.21"
},
"devDependencies": {
......
......@@ -264,7 +264,7 @@ export default class PicsContainer
? argv.options.source.split(',')
: [];
const sources = this.pickAvailableSources(sourceTags, true);
return `图源的列表如下:\n${sources
return `${argv.session.text('.list')}\n${sources
.map((s) => s.getDisplayString())
.join('\n')}`;
});
......
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