diff --git a/disco/gateway/client.py b/disco/gateway/client.py index fa62811..6cd7d15 100644 --- a/disco/gateway/client.py +++ b/disco/gateway/client.py @@ -3,7 +3,7 @@ import zlib import six import ssl -from system import platform +from platform import system from websocket import ABNF from disco.gateway.packets import OPCode, RECV, SEND @@ -220,7 +220,7 @@ class GatewayClient(LoggingClass): int(self.client.config.shard_count), ], 'properties': { - '$os': platform, + '$os': system(), '$browser': 'disco', '$device': 'disco', '$referrer': '',