Update bots manager

This commit is contained in:
2023-07-21 01:07:08 +02:00
parent 1b4a5a6b2e
commit 507ad1f91f
4 changed files with 222 additions and 153 deletions

View File

@@ -21,9 +21,5 @@ async fn main() {
})
.expect("Error setting Ctrl-C handler");
tokio::spawn(async move {
bots_manager::BotsManager::start(running).await;
})
.await
.unwrap();
bots_manager::BotsManager::start(running).await;
}