Skip to content

Commit

Permalink
Achieve resoved thread from 3 days to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
gabber235 committed Nov 9, 2024
1 parent d774b92 commit 5920091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord_bot/src/discord/thread_cleanup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async fn resolve_answered_thread(
let now = Timestamp::now();
let duration = now.timestamp() - last_message_date.timestamp();

if duration < Duration::days(3).num_seconds() {
if duration < Duration::days(1).num_seconds() {
return Ok(());
}

Expand Down

0 comments on commit 5920091

Please sign in to comment.