# NousResearch/hermes-agent · Discord voice cleanup order fix at shutdown

## Open now

- Nothing open on GitHub.

A bug caused Discord adapter to always hit a 5-second timeout on shutdown when a voice connection was open. The fix ensures voice channels are left before the bot task is cancelled.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #76050. Verify it addresses your case.
- **Recommended:** read PR #76050 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-76050`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #76044: \[Bug\]: Discord adapter always hits the 5s disconnect timeout when a voice connection is open at shutdown

## Prior & competing PRs

- **#76050: fix(discord): leave voice channels before cancelling the bot task**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `plugins/platforms/discord/adapter.py`, `tests/gateway/test_voice_command.py`
- **#76101: fix(discord): move voice cleanup above bot task cancel in disconnect (#76044)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#76050`, `#76044`
- **#76186: fix(discord): tear down voice before cancelling bot task to avoid 5s timeout (#76044)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#76050`

## Fix status

- Merged to main in PR #76050 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-03`.
