aboutsummaryrefslogtreecommitdiff
path: root/bot/src/main.rs
blob: 011c7d0d66806354e220d9d1f2a832cca57e12c6 (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:63482";
    // 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");
}