Skip to main content

🚀 A fast, flexible and lightweight Discord API wrapper for Python.

Project description

krema

Krema

A fast, flexible and lightweight Discord API wrapper for Python.

Krema is still not finished, So you only can use dev version with Unikorn.

Installation

Unikorn

unikorn add kremayard krema -no-confirmation

Pip

pip install krema

Example Ping-Pong Bot

from unikorn import krema 
# if you use pip, replace with:
# import krema

client = krema.Client(
    intents=krema.types.Intents().All()
)

@client.event()
async def message_create(message):
    if message.author.bot: return

    if message.content.startswith("!ping"):
        await message.reply(
            content=":ping_pong: Pong!"
        )

client.start("client token", bot=True)

Todo

  • Add Gateway Support
  • Add HTTP Support
  • Add Event Handler
  • Add Cache System
  • Add Models
  • Add Functions

License

This project is licensed under MIT license.

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

krema-1.0.0.tar.gz (22.9 kB view hashes)

Uploaded Source

Built Distribution

krema-1.0.0-py3-none-any.whl (28.4 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