feat : let discord fetcher can stop working and accept every message type
CI / Verify (push) Successful in 1m48s
CI / Build immutable images and deploy (push) Successful in 3m21s

This commit is contained in:
2026-09-21 18:29:17 +07:00 Unverified
parent 481123eec0
commit 88afa8e947
4 changed files with 132 additions and 115 deletions
+6 -3
View File
@@ -108,10 +108,13 @@ refetch authoritative state; SSE never contains page content and is not the
source of truth.
The Discord catalog worker watches the private channel configured by
`DISCORD_CHANNEL_ID`. It parses new Lunaris `Version Change` announcements and
then fetches and synchronizes the latest version reported by Lunaris. Startup
`DISCORD_CHANNEL_ID`. Every new message in that channel, including messages you send yourself,
triggers a check and synchronization of the latest version reported by Lunaris. Startup
only connects the listener; it does not replay channel history or start a sync.
Worker and sync results are sent to `DISCORD_LOG_CHANNEL_ID`. Enable the Discord
Worker and sync results are sent to `DISCORD_LOG_CHANNEL_ID`; start notifications
include a clickable link to the message that triggered the check. Send
`!lunaris stop` in the configured channel to cancel the active fetch and clear
queued fetches; a later message starts a new check. Enable the Discord
Message Content intent and grant the bot View Channel and Send Messages in the
configured channels.