PyCord
is a client for Discord Gateway, written in Python.
Connection to gateway is established through WebSocket connection.
This client is compatible with Python 3.
To start using PyCord
:
- Go to Discord Applications.
- Copy bot token and place it in
.env
configuration file. - Start the client by running:
python3 start.py
. - Client will establish WebSocket connection to Discord Gateway.
Important
Currently PyCord
only connects and receives events from Discord server.
Handling of disconnect is implemented. PyCord
will automatically resume connection.
More features will be added in future.