Discord ipc client.
Project description
discord-ext-ipc
Example Client
import discord
from discord.ext import ipcs
client = discord.Client(intents=discord.Intents.all())
ipc_client = ipcs.Client(client, "TopSecretKey")
@client.event
async def on_ready():
async with ipc_client:
await ipc_client.connect("ws://localhost/ipc")
@client.event
async def on_ipc_connect():
print("ipc connected")
@client.event
async def on_ipc_close():
print("Ipc closed")
@ipc_client.listen("ready")
async def ipc_ready():
print("ready")
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
Built Distribution
File details
Details for the file discord-ext-ipcs-0.0.4.tar.gz
.
File metadata
- Download URL: discord-ext-ipcs-0.0.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7845cde2014bdbb10e89a97d0a758905cec3623834b0299e1cfc5327a8b7c34d |
|
MD5 | e957c64ba7bff16e015ad97651cd0fd8 |
|
BLAKE2b-256 | 4a44713b5d8311b5a2f42aa95e98f6c8eeac6646ac2b07e9a549a9c43e6e66a7 |
File details
Details for the file discord_ext_ipcs-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: discord_ext_ipcs-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb598fb2f93f4d537e4965580f023d46f5a713e5c067db2d11fe68890a2c433f |
|
MD5 | 4f9f24b7091fc7bf31cbe3d9d0d1015d |
|
BLAKE2b-256 | 920fb5846034888a10836cc977f08761cf90190212c283c96f1d5ed330ccc7f6 |