Skip to main content

Minimal Discord bot library for Python

Project description

ucord

Ucord is a discord library build using threads for maximum performance

Bot example

    import ucord

    client = ucord.Client()
    client.set_token("token")
    client.run()

    @client.on_ready
    def on_ready(client):
        print(f"Logged in as {client.user}")

    @client.slash_command(name="ping", description="Ping command")
    def ping(ctx):
        embed = ucord.Embed(title="Pong!", description="Pong!")
        ctx.reply("Bot is online", embed=embed)

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

ucord-0.0.3.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

ucord-0.0.3-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

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