Commit 992b8bdc authored by nanahira's avatar nanahira

bump and clean codes

parent 833bdee4
This diff is collapsed.
......@@ -48,8 +48,8 @@
"node-schedule": "^2.1.0"
},
"peerDependencies": {
"koishi": "^4.9.1",
"koishi-thirdeye": "^11.1.0"
"koishi": "^4.10.1",
"koishi-thirdeye": "^11.1.11"
},
"devDependencies": {
"@koishijs/plugin-console": "^4.0.1",
......
......@@ -37,7 +37,6 @@ export class BaseSchedulePlugin extends StarterPlugin(SchedulePluginConfig) {
await Promise.all(
this.config.targets.map(async (target) => {
try {
const bot = this.bots.find(bot => bot.sid === target.bot);
this.logger.debug(`Sending message from ${target.bot}.`);
const ids = await target.send(this.bots, message);
this.logger.debug(
......
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