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
discord-ext-ipcs-0.0.4.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for discord_ext_ipcs-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb598fb2f93f4d537e4965580f023d46f5a713e5c067db2d11fe68890a2c433f |
|
MD5 | 4f9f24b7091fc7bf31cbe3d9d0d1015d |
|
BLAKE2b-256 | 920fb5846034888a10836cc977f08761cf90190212c283c96f1d5ed330ccc7f6 |