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