aboutsummaryrefslogtreecommitdiff
path: root/bot/src/main.rs
blob: 7d129478c66450446e4616703b4d4e9198d7eb7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[tokio::main]
async fn main() {
    println!("Hello, world!");

    // let address = "95.111.249.143:10000";
    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");
}