Browse Source

Fix token debug typo

master
NGnius (Graham) 3 years ago
parent
commit
41da0ab5f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main.rs

+ 1
- 1
src/main.rs View File

@@ -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


Loading…
Cancel
Save