🚀 A fast, flexible and lightweight Discord API wrapper for Python.
Project description
Krema
A fast, flexible and lightweight Discord API wrapper for Python.
Installation
Unikorn
unikorn add kremayard krema -no-confirmation
Pip
pip install krema
Frameworks
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)
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.2.0.tar.gz
(24.7 kB
view hashes)