This commit is contained in:
2023-06-20 02:50:12 +02:00
parent e71ea5cd62
commit b6e1eefeb9

View File

@@ -170,7 +170,10 @@ impl BotsManager {
self.bot_port_map.entry(bot_data.id)
{
e.insert(self.next_port);
if !is_first_start {
self.next_port += 1;
}
match self.start_bot(bot_data, is_first_start).await {
BotStartResult::Success => (),