def __init__(self, token, on_connect=None, on_message=None):
    """ Todo """
    self.token = token
    self.ws = None
    self.sequence = None
    self.h = None
    self.channels = {}
    self.con_connect = on_connect
    self.con_message = on_message
    self.session = None
    self.logger = logging.getLogger(__name__)
    self._api_base = 'https://discordapp.com/api/v6/{}'
    self.http = urllib3.PoolManager(cert_reqs='CERT_REQUIRED', ca_certs=certifi.where())
    self.connect()
def __init__ ( self , token , on_connect = None , on_message = None ) : self . token = token self . ws = None self . sequence = None self . h = None self . channels = { } self . con_connect = on_connect self . con_message = on_message self . session = None self . logger = logging . getLogger ( __name__ ) self . _api_base = 'https://discordapp.com/api/v6/{}' self . http = urllib3 . PoolManager ( cert_reqs = 'CERT_REQUIRED' , ca_certs = certifi . where ( ) ) self . connect ( )
Todo