diff options
Diffstat (limited to 'bot')
| -rwxr-xr-x[-rw-r--r--] | bot/Cargo.toml | 0 | ||||
| -rw-r--r-- | bot/src/main.rs | 11 |
2 files changed, 7 insertions, 4 deletions
diff --git a/bot/Cargo.toml b/bot/Cargo.toml index fd6ad067..fd6ad067 100644..100755 --- a/bot/Cargo.toml +++ b/bot/Cargo.toml 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"); } |
