Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 495 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 495 Bytes

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)