Browse Source

Use actual OS.

pull/154/head
trilleplay 6 years ago
committed by GitHub
parent
commit
7196c05b4b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      disco/gateway/client.py

3
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': '',

Loading…
Cancel
Save