From 7196c05b4bc61e7f6b28f964507ad105321b9aa7 Mon Sep 17 00:00:00 2001 From: trilleplay <15787558+trilleplay@users.noreply.github.com> Date: Fri, 26 Jul 2019 17:11:08 +0200 Subject: [PATCH] Use actual OS. --- disco/gateway/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/disco/gateway/client.py b/disco/gateway/client.py index a951145..fa62811 100644 --- a/disco/gateway/client.py +++ b/disco/gateway/client.py @@ -3,6 +3,7 @@ import zlib import six import ssl +from system import platform from websocket import ABNF from disco.gateway.packets import OPCode, RECV, SEND @@ -219,7 +220,7 @@ class GatewayClient(LoggingClass): int(self.client.config.shard_count), ], 'properties': { - '$os': 'linux', + '$os': platform, '$browser': 'disco', '$device': 'disco', '$referrer': '',