From 77f978e90ceebf35d38176daccbf52a04293abe1 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 8 Nov 2026 18:29:00 +0100 Subject: [PATCH 1/5] fix(voice): correct UDP keep-alive interval unit --- discord/voice/receive/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/voice/receive/reader.py b/discord/voice/receive/reader.py index 2a82c6e1dc..6253f256b3 100644 --- a/discord/voice/receive/reader.py +++ b/discord/voice/receive/reader.py @@ -532,7 +532,7 @@ def get_next_entry(): class UDPKeepAlive(threading.Thread): - delay: int = 5000 + delay: float = 5.0 def __init__(self, client: VoiceClient) -> None: super().__init__( From 26a92b609294ea8104c2390cd30ea3b668ffd2af Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 8 Nov 2026 18:46:17 +0100 Subject: [PATCH 2/5] chore: add changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dadf2d769..b4f0ad2e05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,6 +72,8 @@ These changes are available on the `master` branch, but have not yet been releas ([#3273](https://github.com/Pycord-Development/pycord/pull/3273)) - Fixed a race condition where `Bot.latency` could be reported incorrectly and grow indefinitely ([#3414](https://github.com/Pycord-Development/pycord/pull/3414)) +- Fixed the voice receiver's UDP keep-alive firing every 5000 seconds instead of every 5. + ([#3436](https://github.com/Pycord-Development/pycord/pull/3436)) ### Deprecated From 7bdc6167272f0a8fbd4ddbae483676866e06092f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 8 Nov 2026 17:47:06 +0000 Subject: [PATCH 3/5] style(pre-commit): auto fixes from pre-commit.com hooks --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4f0ad2e05..57e3b17502 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,8 +72,8 @@ These changes are available on the `master` branch, but have not yet been releas ([#3273](https://github.com/Pycord-Development/pycord/pull/3273)) - Fixed a race condition where `Bot.latency` could be reported incorrectly and grow indefinitely ([#3414](https://github.com/Pycord-Development/pycord/pull/3414)) -- Fixed the voice receiver's UDP keep-alive firing every 5000 seconds instead of every 5. - ([#3436](https://github.com/Pycord-Development/pycord/pull/3436)) +- Fixed the voice receiver's UDP keep-alive firing every 5000 seconds instead of + every 5. ([#3436](https://github.com/Pycord-Development/pycord/pull/3436)) ### Deprecated From 643cb4885c902c20f3d35aae6132ac8c4d158eb9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 8 Nov 2026 18:54:54 +0100 Subject: [PATCH 4/5] chore: address changelog review --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57e3b17502..6b3855d81e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,8 +72,8 @@ These changes are available on the `master` branch, but have not yet been releas ([#3273](https://github.com/Pycord-Development/pycord/pull/3273)) - Fixed a race condition where `Bot.latency` could be reported incorrectly and grow indefinitely ([#3414](https://github.com/Pycord-Development/pycord/pull/3414)) -- Fixed the voice receiver's UDP keep-alive firing every 5000 seconds instead of - every 5. ([#3436](https://github.com/Pycord-Development/pycord/pull/3436)) +- Fixed a bug where audio reception would drop after prolonged silence in a voice channel. + ([#3436](https://github.com/Pycord-Development/pycord/pull/3436)) ### Deprecated From 2ee8f560e8e3cabb1adbfb1247c5645065466358 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 8 Nov 2026 17:55:30 +0000 Subject: [PATCH 5/5] style(pre-commit): auto fixes from pre-commit.com hooks --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b3855d81e..3f279765da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,8 +72,8 @@ These changes are available on the `master` branch, but have not yet been releas ([#3273](https://github.com/Pycord-Development/pycord/pull/3273)) - Fixed a race condition where `Bot.latency` could be reported incorrectly and grow indefinitely ([#3414](https://github.com/Pycord-Development/pycord/pull/3414)) -- Fixed a bug where audio reception would drop after prolonged silence in a voice channel. - ([#3436](https://github.com/Pycord-Development/pycord/pull/3436)) +- Fixed a bug where audio reception would drop after prolonged silence in a voice + channel. ([#3436](https://github.com/Pycord-Development/pycord/pull/3436)) ### Deprecated