From 1011015b29c00480b1a7bcb5e2d98abdb363fc75 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 21 Jul 2022 21:42:47 +0200 Subject: show match url in planetwars_client --- planetwars-client/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'planetwars-client/src') diff --git a/planetwars-client/src/main.rs b/planetwars-client/src/main.rs index 25a6725..30397a5 100644 --- a/planetwars-client/src/main.rs +++ b/planetwars-client/src/main.rs @@ -29,6 +29,10 @@ async fn main() { let created_match = create_match(channel.clone()).await.unwrap(); run_player(bot_config, created_match.player_key, channel).await; + println!( + "Match completed. Watch the replay at {}", + created_match.match_url + ); tokio::time::sleep(Duration::from_secs(1)).await; } -- cgit v1.2.3