Cleanup tweaks

This commit is contained in:
2024-12-21 10:44:42 -05:00
parent 642e2c8d66
commit 4d9ee81ecf
3 changed files with 7 additions and 7 deletions

View File

@@ -152,7 +152,7 @@ impl EventHandler for BotHandler {
}
async fn resume(&self, _: Context, _: ResumedEvent) {
log::debug!("Resumed");
log::trace!("Resumed");
}
async fn interaction_create(&self, ctx: Context, interaction: Interaction) {

View File

@@ -67,7 +67,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client_secret: String =
env::var("DISCORD_SECRET").expect("Expected a secret in the environment");
let redirect_uri: String =
env::var("API_CALLBACK_URI").expect("Expected a secret in the environment");
env::var("API_CALLBACK_URI").expect("Expected a callback uri in the environment");
let app_state = AppState {
client: HttpClient::new(),
client_id: bot_id.to_string(),