mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-28 17:43:54 -07:00
Add Discord account registration monitor
A read-only cron script that posts new Servatrice account registrations to a Discord channel via webhook. Dedups by an auto-increment id high-water-mark (single-integer state, no duplicates, nothing missed across downtime). Reads DB credentials and the webhook from a servatrice-style ini via --config.
This commit is contained in:
parent
e99a55ccab
commit
b1c4a2bc23
4 changed files with 519 additions and 0 deletions
5
servatrice/scripts/account_monitor/.gitignore
vendored
Normal file
5
servatrice/scripts/account_monitor/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Local state - never commit these
|
||||
state.json
|
||||
state.json.tmp
|
||||
venv/
|
||||
__pycache__/
|
||||
Loading…
Add table
Add a link
Reference in a new issue