11 Commits

Author SHA1 Message Date
962b2359c1 Fix voice text channel detection & cross-channel hour purge (#1)
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Two fixes in `src/handlers.rs`:

**1. Voice text channel detection**
Messages sent in voice channel text threads have a different `channel_id` than the parent voice channel. The `message` handler now falls through to check `msg.thread.parent_id` — if the parent is a watched channel, it catches them.

**2. Cross-channel 1-hour message purge**
When a user is banned, the bot now fetches the last 10 messages from **every** watched channel in the guild and bulk-deletes any from that user within the past hour (snowflake timestamp boundary). Catches messages sent before the trigger message hit.

Reviewed-on: http://git.infernonode.com/HotaruBlaze/Cinderwatch/pulls/1
Co-authored-by: Hermes-Neo <hermes-neo@noreply.localhost>
Co-committed-by: Hermes-Neo <hermes-neo@noreply.localhost>
2026-07-02 12:59:44 +01:00
2522e8a7a0 Add timer and better handling of status
Some checks failed
ci/woodpecker/push/build Pipeline was canceled
2026-06-12 05:57:25 +01:00
cc9b7e6e02 fix hardcoded .env file check
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2026-06-03 22:17:40 +01:00
4d9a320267 Fix compose.yaml
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2026-06-03 22:16:30 +01:00
869b43698c add compose.yaml
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2026-06-03 22:12:46 +01:00
6ae9257b1a Not gonna deal with verifying the repo
Some checks failed
ci/woodpecker/push/build Pipeline was canceled
2026-06-03 22:08:53 +01:00
fd419631c2 More build tweaking 2026-06-03 22:07:33 +01:00
1e92931851 forgot to remove env
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2026-06-03 21:53:10 +01:00
ccb94afdf8 Cargo fixes
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2026-06-03 21:47:13 +01:00
eef2cb7558 Fix woodpecker missing branch and fix cargo fmt
Some checks failed
ci/woodpecker/push/build Pipeline failed
2026-06-03 21:40:02 +01:00
f03e47d9f5 cinderwatch 0.1.0
Some checks failed
ci/woodpecker/push/build Pipeline failed
2026-06-03 21:38:26 +01:00