Commit 7c98af65 authored by nanahira's avatar nanahira

use koishi-target-def and fix incorrect text

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