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

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