fix hardcoded .env file check
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2026-06-03 22:17:40 +01:00
parent 4d9a320267
commit cc9b7e6e02

View File

@@ -9,7 +9,7 @@ use std::sync::Arc;
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
dotenv().expect("Failed to load .env file"); dotenv().ok();
let token = std::env::var("DISCORD_TOKEN").expect("Expected DISCORD_TOKEN in environment"); let token = std::env::var("DISCORD_TOKEN").expect("Expected DISCORD_TOKEN in environment");