alxjrvs / alxjrvs/orrey

Cutover: save the Interactions Endpoint URL and retire Hermuz

Ouverte
#13 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
ops phase:0
Langage dominant
HTML
Étoiles
0
Forks
0
Merge moyen
2 h 48 min
PR mergées (30 j)
4

Description

The one-way switch. **Saving an Interactions Endpoint URL stops Discord delivering interactions over the gateway** — Hermuz's bot goes deaf the moment it is saved. There is no overlap period, so everything below happens in one sitting, in this order.

Blocked on the Worker being deployed and verifying, and on the Hermuz ids being captured.

- [ ] Stop the Hermuz process.
- [ ] Save the Interactions Endpoint URL on the (repurposed) Hermuz application. Discord validates on save.
- [ ] Drop the two privileged intents.
- [ ] Bulk-overwrite the guild command set with Orrey's four (`npm run commands:register`). This is what makes `/task`, `/meal` etc. cease to exist.
- [ ] Neutralise old interactive posts: Hermuz `custom_id`s are unknown to Orrey, and an unhandled click shows "interaction failed". Strip components from Hermuz's old posts (**the one sanctioned use of the channel message-edit endpoint**, and only at cutover) and confirm the catch-all "this post is retired" handler in `src/discord/custom-id.ts` catches anything missed.
- [ ] Rotate the bot token and client secret; update the Worker secrets.
- [ ] Seed `settings` with the adopted guild and channel ids.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.