Discord ipc client.
Project description
discord-ext-ipc
Example Client
import discord
from discord.ext import ipc
client = discord.Client(intents=discord.Intents.all())
ipc_client = ipc.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.2.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for discord_ext_ipcs-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cc8b1b1232caad5d9af8e706d08edec3745831c71062e7fefc3784efcb0fbed |
|
MD5 | f75c9214082f331b63d0cdb55e7bae46 |
|
BLAKE2b-256 | 36d81e802a00439c8b86d9c7cd82b63426b65cb534e021617b09a1f54ce2e9c0 |