From 22b6766bb9a790d252157fa05e54ce6d41c04420 Mon Sep 17 00:00:00 2001 From: davfsa Date: Wed, 22 Jun 2022 01:59:11 +0200 Subject: [PATCH] Remove dollar sign from identify payload (#1190) --- hikari/impl/shard.py | 6 +++--- tests/hikari/impl/test_shard.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hikari/impl/shard.py b/hikari/impl/shard.py index 8b7aa3b0dc..9c681fde6b 100644 --- a/hikari/impl/shard.py +++ b/hikari/impl/shard.py @@ -716,9 +716,9 @@ async def _identify(self) -> None: "compress": False, "large_threshold": self._large_threshold, "properties": { - "$os": f"{platform.system()} {platform.architecture()[0]}", - "$browser": f"hikari ({about.__version__}, aiohttp {aiohttp.__version__})", - "$device": f"hikari {about.__version__}", + "os": f"{platform.system()} {platform.architecture()[0]}", + "browser": f"hikari ({about.__version__}, aiohttp {aiohttp.__version__})", + "device": f"hikari {about.__version__}", }, "shard": [self._shard_id, self._shard_count], }, diff --git a/tests/hikari/impl/test_shard.py b/tests/hikari/impl/test_shard.py index 18d3f1fcc8..b964581d26 100644 --- a/tests/hikari/impl/test_shard.py +++ b/tests/hikari/impl/test_shard.py @@ -1115,9 +1115,9 @@ async def test__identify(self, client): "compress": False, "large_threshold": 123, "properties": { - "$os": "Potato PC ARM64", - "$browser": "hikari (v1.0.0, aiohttp v0.0.1)", - "$device": "hikari v1.0.0", + "os": "Potato PC ARM64", + "browser": "hikari (v1.0.0, aiohttp v0.0.1)", + "device": "hikari v1.0.0", }, "shard": [0, 1], "intents": 131071,