Discord IPC
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-ipc-0.1.0.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for discord_ipc-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f55a10bc08e7632fd12595444d1155e84efc391b5d31bf4c67ab6a9ad9b6fceb |
|
MD5 | ada109641799c5e708cc9df9bf93da7c |
|
BLAKE2b-256 | 15911f1a42ef244441239b9feeef53ccc9683f8cdc96eb7beb844b1ea3400e4d |