Files
hermes-agent/plugins/platforms/discord
kshitijk4poor 1d90557426 refactor: the Discord approval card retires through the views' shared embed stamp
`ExecApprovalView.retire` repeated `_HermesView._expire_embed`: grey
the first embed, stamp the footer, edit the message. The only
differences were that retire removed the controls (`view=None`) and
logged a failed edit.

`_expire_embed` now takes `keep_controls` (default True, so the other
views' timeouts look the same as before), and retire calls it with
False. A failed stamp is now logged at debug instead of silently dropped, for
every view that stamps through it (approval, slash confirm, update,
clarify; the model and choice pickers have their own timeout edit).

Raised by review of #145948. The copied block came from 39b2158afc
(Gille, 2026-10-27, #145948).
2026-10-29 09:45:17 +05:30
..