This repository was archived by the owner on Dec 26, 2022. It is now read-only.

Description
ApiObject
@dataclass
class APIObject(metaclass=HTTPMeta):
"""
Represents an object which has been fetched from the Discord API.
"""
_client: Client
_http: HTTPClient
Client
class Client(Dispatcher):
"""The client is the main instance which is between the programmer
and the discord API.
...
http: :class:`~core.http.HTTPClient`
The http client used to communicate with the discord API
...
"""
def __init__(self, ...):
...
self.http = HTTPClient(token)
_http => self._http = self._client.http