Browse Source

This should work on linux aswell.

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

4
disco/gateway/client.py

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

Loading…
Cancel
Save