Skip to content

Commit

Permalink
fix: 1. bot实例加入到适配器bots数组后再启动
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-cn committed Oct 20, 2023
1 parent 07e4507 commit 462aee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ export abstract class Adapter<
sent_msg_cnt: currentBotStatus.sent_msg_cnt || 0,
online: false,
};
bot.start();
this.bots.push(bot);
bot.start();
}
}

Expand Down

0 comments on commit 462aee4

Please sign in to comment.