feat: polish Discord daily check-ins and add reminder buttons
This commit is contained in:
@@ -24,3 +24,12 @@ Discord validation will be completed during integration.
|
||||
controls and privacy, and links to the website. It works before account setup and
|
||||
does not create an account or synchronize habits. Re-run the registration script
|
||||
with `--apply` after deployment to expose newly added commands in Discord.
|
||||
Reminder delivery accepts `commandsAvailable`; production enables it when
|
||||
`DISCORD_PUBLIC_KEY` is a 64-digit hexadecimal key and `DISCORD_CLIENT_ID` is set.
|
||||
The existing bot token still controls delivery. Configured reminders include an
|
||||
owner-bound `today` control with `mode: 'reminder'`: it opens a separate private
|
||||
flow, leaving the reminder unchanged, and expires at the sending account's next
|
||||
local midnight (including DST). Delivery claims, nonce, opt-out, and retry rules
|
||||
are unchanged. The dashboard preview explicitly disables buttons because it has
|
||||
no signed interaction endpoint configured. Global command registration and the
|
||||
Discord interaction endpoint must be configured separately before production use.
|
||||
|
||||
Reference in New Issue
Block a user