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]
|
#[tokio::main]
|
||||||
async fn main() -> Result<()> {
|
async fn main() -> Result<()> {
|
||||||
tracing_subscriber::fmt()
|
tracing_subscriber::fmt().init();
|
||||||
.with_max_level(filter::LevelFilter::DEBUG)
|
|
||||||
.init();
|
|
||||||
|
|
||||||
let token =
|
let token =
|
||||||
env::var("DISCORD_TOKEN").expect("Expected a bot token in the environment: DISCORD_TOKEN");
|
env::var("DISCORD_TOKEN").expect("Expected a bot token in the environment: DISCORD_TOKEN");
|
||||||
|
|
Loading…
Add table
Reference in a new issue