Browse Source

Move to the system namespace.

Co-Authored-By: Andrei Zbikowski <[email protected]>
pull/154/head
tristanatfarkas 6 years ago
committed by GitHub
parent
commit
356a8b16d2
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 platform import 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
@ -220,7 +220,7 @@ class GatewayClient(LoggingClass):
int(self.client.config.shard_count), int(self.client.config.shard_count),
], ],
'properties': { 'properties': {
'$os': system(), '$os': platform.system(),
'$browser': 'disco', '$browser': 'disco',
'$device': 'disco', '$device': 'disco',
'$referrer': '', '$referrer': '',

Loading…
Cancel
Save