more logging. only build commands once

This commit is contained in:
2021-09-17 10:59:42 +01:00
parent 9f7853c074
commit 8db0a05785
3 changed files with 18 additions and 12 deletions

View File

@ -308,6 +308,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
}
}
framework_arc.build_slash(&client.cache_and_http.http).await;
if let Ok((Some(lower), Some(upper))) = env::var("SHARD_RANGE").map(|sr| {
let mut split = sr
.split(',')