semvec/pypi-packages huggingface dataset:
krema 1.2.0
🚀 A fast, flexible and lightweight Discord API wrapper for Python.
License: MIT
Requires Python: >=3.8.0
Keywords: python,krema,discord,discord-api,api-wrapper

<div align="center">
<img src="https://avatars.githubusercontent.com/u/87482214?s=256&v=4" alt="krema"/>
<h1>Krema</h1>
<p>A fast, flexible and lightweight Discord API wrapper for Python.</p>

## Installation

### Unikorn
`unikorn add kremayard krema -no-confirmation`

### Pip
`pip install krema`

## Frameworks
<div align="left">

- [**Kommand**:](https://github.com/kremayard/kommand) Command framework for Krema.
- [**Klash**:](https://github.com/kremayard/klash) Slash command framework for Krema.

</div>

## Example Ping-Pong Bot

<div align="left">

```py
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)
```

</div>

## License

This project is licensed under [MIT](https://opensource.org/licenses/MIT) license.

</div>