Skip to main content

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


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 details)

Uploaded Source

Built Distribution

discord_ext_ipcs-0.0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file discord-ext-ipcs-0.0.2.tar.gz.

File metadata

  • Download URL: discord-ext-ipcs-0.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for discord-ext-ipcs-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cee1c6f9f0f7514e06fbd6ce266efb54340b570c48bfc764b590e4f7d4807d4f
MD5 de2946616441e571eeb6a93f502d43bc
BLAKE2b-256 dd4724f291988dba82906b40d5ee46d0cbe5bb6461bd6e2bca83a1774f85780b

See more details on using hashes here.

File details

Details for the file discord_ext_ipcs-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for discord_ext_ipcs-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc8b1b1232caad5d9af8e706d08edec3745831c71062e7fefc3784efcb0fbed
MD5 f75c9214082f331b63d0cdb55e7bae46
BLAKE2b-256 36d81e802a00439c8b86d9c7cd82b63426b65cb534e021617b09a1f54ce2e9c0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page