From 41da0ab5f6c17e76508e7d2c0232acf3be8ee86c Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Mon, 22 Feb 2021 16:44:47 -0500 Subject: [PATCH] Fix token debug typo --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 29e9665..68dd8ec 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,7 +58,7 @@ fn main() { // get bot token for sending API requests let token = std::env::var("DISCORD_TOKEN") .expect("Environment variable DISCORD_TOKEN not found"); - println!("Discord App Id {}", &app_id); + println!("Discord Token {}", &token); *BOT_TOKEN.write().unwrap() = Some(token.to_string()); // send API requests to bootstrap commands