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 six
import ssl import ssl
from system import platform
from websocket import ABNF from websocket import ABNF
from disco.gateway.packets import OPCode, RECV, SEND from disco.gateway.packets import OPCode, RECV, SEND
@ -219,7 +220,7 @@ class GatewayClient(LoggingClass):
int(self.client.config.shard_count), int(self.client.config.shard_count),
], ],
'properties': { 'properties': {
'$os': 'linux', '$os': platform,
'$browser': 'disco', '$browser': 'disco',
'$device': 'disco', '$device': 'disco',
'$referrer': '', '$referrer': '',

Loading…
Cancel
Save