feat: Rust 2024 kernel (serenity 0.12.5+poise 0.7, sqlx 0.9, tokio 1.53) - OTHER + roles without emojis, verify auto on boot, i18n EN, welcome 40, tickets, voice temp, fmt/clippy 0, userbot inspect
This commit is contained in:
parent
c3b0c2f976
commit
a2b2c41654
124 changed files with 1596 additions and 2896 deletions
4
src/util/logger.rs
Normal file
4
src/util/logger.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
pub fn init() {
|
||||
let filter = std::env::var("RUST_LOG").unwrap_or_else(|_| "info,serenity=warn".to_owned());
|
||||
tracing_subscriber::fmt().with_env_filter(tracing_subscriber::EnvFilter::new(filter)).init();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue