Reduce logging level
This commit is contained in:
parent
72311197e0
commit
ad2ae7b6eb
1 changed files with 1 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue