From f4a902570315872de8ad26471b60afb2c52e3399 Mon Sep 17 00:00:00 2001 From: vi Date: Mon, 27 Jul 2026 16:03:08 +0200 Subject: [PATCH] fix(http): use user-agent format exactly as described in docs --- disnake/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disnake/http.py b/disnake/http.py index 4eaab46cc8..356533e082 100644 --- a/disnake/http.py +++ b/disnake/http.py @@ -102,7 +102,7 @@ def _workaround_set_api_version(version: Literal[9, 10]) -> None: USER_AGENT: Final[str] = ( # noqa: UP032 - "DiscordBot (https://github.com/DisnakeDev/disnake {0}) Python/{1[0]}.{1[1]} aiohttp/{2}" + "DiscordBot (https://github.com/DisnakeDev/disnake, {0}) Python/{1[0]}.{1[1]} aiohttp/{2}" ).format(__version__, sys.version_info, aiohttp.__version__)