sokko-g/scripts
Shinuwa 320498d878 Send opt-in Discord alerts for Sokko TCG Expeditions through palico-bot
- Players turn on alerts one by one in their account: someone opens an expedition group, or one of their expeditions returns; both stay off until chosen.
- Opening a group queues a direct message for each other subscribed player; every 30 seconds the server queues returned expeditions once and sends pending messages to palico-bot's direct message route.
- Permanent refusals (unknown account, closed direct messages) or five failures stop retries; only real Discord accounts receive alerts, and sent rows are purged after 30 days.
- CARDS_DISCORD_ALERTS_URL and CARDS_DISCORD_ALERTS_KEY enable the feature; Administration › Guilde can turn every alert off, and the privacy notice explains what is sent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 17:09:29 +01:00
..
backup-nebula-cards.mjs Make Cards database restores reliable and schedule backups 2026-11-05 17:54:17 +01:00
convert-public-images.mjs Standardize public images on WebP and add conversion tooling 2026-10-23 12:12:02 +02:00
deploy-sokko-g.sh Close the security gaps found by the application audit 2026-11-06 10:55:35 +01:00
generate-list-indexes.mjs Improve toolbox architecture and initial bundle loading 2026-08-14 09:13:53 +02:00
load-project-env.mjs Coalesce quota refreshes and consolidate shared helpers 2026-09-10 20:03:57 +02:00
measure-public-assets.mjs Standardize public images on WebP and add conversion tooling 2026-10-23 12:12:02 +02:00
profile-toolbox-loading.mjs Audit the project and secure toolbox data 2026-10-14 16:59:09 +02:00
simulate-expeditions.mjs Add solo Expeditions, the second Guilde des Veilleurs quest of Sokko TCG 2026-11-15 14:29:05 +01:00
start-cards-e2e-server.mjs Send opt-in Discord alerts for Sokko TCG Expeditions through palico-bot 2026-11-15 17:09:29 +01:00