Python framework for Discord interactions.
Project description
discsocket
Python framework for Discord interactions.
Example for a minimal application with an on_ready listener
import discsocket
client = discsocket.Client()
# Event names go in the event decorator
# The function can be named whatever
@socket.event('on_ready')
async def ready():
print("Socket is connected")
client.run('token')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
discsocket-0.1.1.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for discsocket-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a00eb3dbd5f51f296e1750da7584b2a2af842dcef1b34d3b4c6432422e395ae5 |
|
MD5 | 4e6316b4a962597e15dd58aa7c2af90f |
|
BLAKE2b-256 | 1d51521ded9a1a46056d0d6b7f26ee975f51ab9140944a52c8708117f6ab58b6 |