Commit c6b0ca17 authored by nanahira's avatar nanahira

catchup

parent ed5fb0ce
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"source-map-support": "^0.5.21" "source-map-support": "^0.5.21"
}, },
"devDependencies": { "devDependencies": {
"@koishijs/plugin-adapter-onebot": "^4.0.0-rc.0", "@koishijs/plugin-adapter-onebot": "^4.0.0",
"@types/lodash": "^4.14.172", "@types/lodash": "^4.14.172",
"@types/mustache": "^4.1.2", "@types/mustache": "^4.1.2",
"@types/node": "^16.4.11", "@types/node": "^16.4.11",
...@@ -215,16 +215,16 @@ ...@@ -215,16 +215,16 @@
} }
}, },
"node_modules/@koishijs/plugin-adapter-onebot": { "node_modules/@koishijs/plugin-adapter-onebot": {
"version": "4.0.0-rc.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-adapter-onebot/-/plugin-adapter-onebot-4.0.0-rc.0.tgz", "resolved": "https://registry.npmjs.org/@koishijs/plugin-adapter-onebot/-/plugin-adapter-onebot-4.0.0.tgz",
"integrity": "sha512-IU7EQGXt35V73qGRHPn1WBGmdgaMkVky/OestbLAtZq07hQmBCbnZ8HTSakOMx34day+TS5Qn04QSUm/kfVIGA==", "integrity": "sha512-xFEBXk9mWgIL1jxdWmbdDc3Y3sB0642vuffWw1tHUh3hz9/aDPRKpONgk94lAfEaCpLB4KMl2V5355Wufu/1Jw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"qface": "^1.2.0", "qface": "^1.2.0",
"ws": "^8.2.1" "ws": "^8.2.1"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.0.0-rc.0" "koishi": "^4.0.0"
} }
}, },
"node_modules/@koishijs/utils": { "node_modules/@koishijs/utils": {
...@@ -4740,9 +4740,9 @@ ...@@ -4740,9 +4740,9 @@
} }
}, },
"@koishijs/plugin-adapter-onebot": { "@koishijs/plugin-adapter-onebot": {
"version": "4.0.0-rc.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/@koishijs/plugin-adapter-onebot/-/plugin-adapter-onebot-4.0.0-rc.0.tgz", "resolved": "https://registry.npmjs.org/@koishijs/plugin-adapter-onebot/-/plugin-adapter-onebot-4.0.0.tgz",
"integrity": "sha512-IU7EQGXt35V73qGRHPn1WBGmdgaMkVky/OestbLAtZq07hQmBCbnZ8HTSakOMx34day+TS5Qn04QSUm/kfVIGA==", "integrity": "sha512-xFEBXk9mWgIL1jxdWmbdDc3Y3sB0642vuffWw1tHUh3hz9/aDPRKpONgk94lAfEaCpLB4KMl2V5355Wufu/1Jw==",
"dev": true, "dev": true,
"requires": { "requires": {
"qface": "^1.2.0", "qface": "^1.2.0",
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
"source-map-support": "^0.5.21" "source-map-support": "^0.5.21"
}, },
"peerDependencies": { "peerDependencies": {
"@koishijs/plugin-adapter-onebot": "^4.0.0-rc.0", "@koishijs/plugin-adapter-onebot": "^4.0.0",
"koishi": "^4.0.0-beta.1" "koishi": "^4.0.0-beta.1"
}, },
"devDependencies": { "devDependencies": {
"@koishijs/plugin-adapter-onebot": "^4.0.0-rc.0", "@koishijs/plugin-adapter-onebot": "^4.0.0",
"@types/lodash": "^4.14.172", "@types/lodash": "^4.14.172",
"@types/mustache": "^4.1.2", "@types/mustache": "^4.1.2",
"@types/node": "^16.4.11", "@types/node": "^16.4.11",
......
...@@ -23,7 +23,7 @@ export class Show { ...@@ -23,7 +23,7 @@ export class Show {
for (const character of playbook.characters) { for (const character of playbook.characters) {
character.playFun = async (line, text) => { character.playFun = async (line, text) => {
const bot = this.characterBotMap.get(character.id); const bot = this.characterBotMap.get(character.id);
await bot.sendGuildMessage(this.groupId, text); await bot.sendMessage(this.groupId, 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