# /dd_update — Deep Desert updater controls

Manage the weekly “Deep Desert — Weekly Uniques” message updater for this guild.

## Usage

    /dd_update <action> [reason]

- `action` — `stop` | `resume` | `start`
- `reason` (optional) — free text appended to the confirmation response.

## Permissions

- stop / resume: Server Owner or members with Manage Server.
- start: Server Owner only. Use with care—this forces an immediate check cycle.

## Behavior

- Weekly reset: Tuesdays 03:00 UTC. At reset, the bot updates the channel message to indicate it’s waiting for the new week.
- Polling cadence: adaptive back-off until fresh data is found:
  - Every 5 min for the first hour
  - Then every 15 min until 3 hours
  - Then every 30 min until 6 hours
  - Then every 1 hour until 24 hours
  - Then every 3 hours
- Success: when new valid data appears, the bot updates the message once and idles until the next weekly reset.
- Errors / no update yet: the message shows a generic notice that it’s still waiting or that an issue occurred (no external source is mentioned).

## Actions

- stop — Pauses all checks. The message remains as-is until you `resume`.
- resume — Returns to the normal weekly cycle (detect reset, then poll until new data).
- start — Pretends the weekly reset just happened and begins polling now. Owner-only.

## Channel & config

- Target channel: taken from `SHAI_DD_CHANNEL_ID` (env). If unset, defaults to `1404764793377652807`.
- Scope: guild-specific. The message lives in this server’s configured channel.

## Notes

- This command only controls the updater; it does not manually edit the posted message.
- On each successful weekly update, the bot compares content against the previous week to avoid duplicate posts.