aboutsummaryrefslogtreecommitdiff
path: root/azalea/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/README.md')
-rwxr-xr-xazalea/README.md12
1 files changed, 5 insertions, 7 deletions
diff --git a/azalea/README.md b/azalea/README.md
index e9ad121d..37b05084 100755
--- a/azalea/README.md
+++ b/azalea/README.md
@@ -50,13 +50,11 @@ async fn main() {
let account = Account::offline("bot");
// or Account::microsoft("example@example.com").await.unwrap();
- loop {
- let e = ClientBuilder::new()
- .set_handler(handle)
- .start(account.clone(), "localhost")
- .await;
- eprintln!("{e:?}");
- }
+ ClientBuilder::new()
+ .set_handler(handle)
+ .start(account.clone(), "localhost")
+ .await
+ .unwrap();
}
#[derive(Default, Clone, Component)]