diff options
| author | mat <git@matdoes.dev> | 2023-11-18 21:20:34 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-11-18 21:20:34 -0600 |
| commit | 84e036ce3752ecf57904b0f5aff1f33d43e95a32 (patch) | |
| tree | 07a6c5d3ecb7e9f02e73f9c5956e7a856043aaeb /azalea | |
| parent | f0b58c7e748e1e94ad0dd08124cfc186e865709c (diff) | |
| download | azalea-drasl-84e036ce3752ecf57904b0f5aff1f33d43e95a32.tar.xz | |
clippy
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/examples/testbot.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/examples/testbot.rs b/azalea/examples/testbot.rs index 2dd5b306..b2f09dfe 100644 --- a/azalea/examples/testbot.rs +++ b/azalea/examples/testbot.rs @@ -47,7 +47,7 @@ async fn main() -> anyhow::Result<()> { let mut accounts = Vec::new(); - for i in 0..100 { + for i in 0..1 { accounts.push(Account::offline(&format!("bot{i}"))); } @@ -56,7 +56,7 @@ async fn main() -> anyhow::Result<()> { .add_accounts(accounts.clone()) .set_handler(handle) .set_swarm_handler(swarm_handle) - // .join_delay(Duration::from_millis(1000)) + .join_delay(Duration::from_millis(100)) .start("localhost") .await; // let e = azalea::ClientBuilder::new() |
