diff options
Diffstat (limited to 'bot/src/main.rs')
| -rw-r--r-- | bot/src/main.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bot/src/main.rs b/bot/src/main.rs index 435803e2..7d129478 100644 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -1,12 +1,15 @@ -use azalea_client::connect::join_server; - #[tokio::main] async fn main() { println!("Hello, world!"); // let address = "95.111.249.143:10000"; - let address = "localhost:58566"; - let _response = join_server(&address.try_into().unwrap()).await.unwrap(); + let address = "localhost:52400"; + // let response = azalea_client::ping::ping_server(&address.try_into().unwrap()) + // .await + // .unwrap(); // println!("{}", response.description.to_ansi(None)); + let _response = azalea_client::connect::join_server(&address.try_into().unwrap()) + .await + .unwrap(); println!("connected"); } |
