Commit c6b0ca17 authored by nanahira's avatar nanahira

catchup

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