Initial project setup with basic structure, including environment configuration, command handling, and Lavalink integration.

This commit is contained in:
2025-04-20 09:02:34 +08:00
parent 322434afbd
commit 05fec6747d
14 changed files with 324 additions and 2 deletions

7
src/utils.rs Normal file
View File

@@ -0,0 +1,7 @@
// src/utils.rs
use std::env;
/// Retrieves an environment variable or panics if it's not set.
pub fn env_var(key: &str) -> String {
env::var(key).expect(&format!("Environment variable {} not set", key))
}