use minecraft_client::{connect::join_server, ping::ping_server}; use tokio::runtime::Runtime; async fn bot() { let address = "localhost:63425"; let response = join_server(&address.try_into().unwrap()).await.unwrap(); // println!("{}", response.description.to_ansi(None)); println!("connected"); } fn main() { println!("Hello, world!"); let io_loop = Runtime::new().unwrap(); io_loop.block_on(bot()); }