Parcourir la source

Fix token debug typo

master
NGnius (Graham) il y a 3 ans
Parent
révision
41da0ab5f6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/main.rs

+ 1
- 1
src/main.rs Voir le fichier

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


Chargement…
Annuler
Enregistrer