add very important logging information

This commit is contained in:
2024-10-10 11:24:54 -04:00
parent e20f28d2d0
commit c2ac41f99f

View File

@@ -24,6 +24,8 @@ async fn ping(ctx: Context<'_>) -> Result<(), Error> {
async fn main() -> Result<(), Error> { async fn main() -> Result<(), Error> {
dotenv::dotenv().ok(); dotenv::dotenv().ok();
println!("Starting bot...");
let token = env::var("DISCORD_BOT_TOKEN")?; let token = env::var("DISCORD_BOT_TOKEN")?;
let intents = serenity::GatewayIntents::non_privileged(); let intents = serenity::GatewayIntents::non_privileged();