🚀 A fast, flexible and lightweight Discord API wrapper for Python.
Project description
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
Release history Release notifications | RSS feed
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)
Built Distribution
krema-1.0.0-py3-none-any.whl
(28.4 kB
view hashes)