Reduce logging level

This commit is contained in:
Alex Page 2023-03-03 02:02:02 -05:00
parent 72311197e0
commit ad2ae7b6eb

View file

@ -42,9 +42,7 @@ async fn register(ctx: CommandContext<'_>) -> Result<(), Error> {
#[tokio::main]
async fn main() -> Result<()> {
tracing_subscriber::fmt()
.with_max_level(filter::LevelFilter::DEBUG)
.init();
tracing_subscriber::fmt().init();
let token =
env::var("DISCORD_TOKEN").expect("Expected a bot token in the environment: DISCORD_TOKEN");