A simple to use command handler for Hikari
Project description
Lightbulb
Lightbulb is designed to be an easy to use command handler library that integrates with the Discord API wrapper library for Python, Hikari.
This library aims to make it simple for you to make your own Discord bots and provide all the utilities and functions you need to help make this job easier.
Installation
Use the package manager pip to install Lightbulb.
pip install hikari-lightbulb
Usage
import lightbulb
bot = lightbulb.Bot(token="your_token_here", prefix="!")
@bot.command()
async def ping(ctx):
await ctx.reply("Pong!")
bot.run()
Issues
If you find any bugs, issues, or unexpected behaviour while using the library, you should open an issue with details of the problem and how to reproduce if possible. Please also open an issue for any new features you would like to see added.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please try to update tests as appropriate and ensure that documentation is updated if you add any features accessible through the public API.
If you use this library and like it, feel free to sign up to GitLab and star the project, it is greatly appreciated and lets me know that I'm going in the right direction!
Links
- License: LGPLv3
- Repository: Gitlab
- Documentation: GitLab Pages
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hikari-lightbulb-0.0.55.tar.gz.
File metadata
- Download URL: hikari-lightbulb-0.0.55.tar.gz
- Upload date:
- Size: 38.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f175fe1064f3e990e5e2d191fe8e6dd604223d5dc64b8fab72b6f3dda91492e
|
|
| MD5 |
54aeaf1a0c30afd7b90a9ea44286313a
|
|
| BLAKE2b-256 |
3b63de73df09f8ffa42c47f52f182e073db3ee24c98f3cacec28dc2b5fac5f90
|
File details
Details for the file hikari_lightbulb-0.0.55-py3-none-any.whl.
File metadata
- Download URL: hikari_lightbulb-0.0.55-py3-none-any.whl
- Upload date:
- Size: 66.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9ae7429cf80c2be2bd16aae5e3f8630d5f019224967a2a1b8e28bf9c686d0be
|
|
| MD5 |
f6cf90145babc1e50cd17d906d7fd8bb
|
|
| BLAKE2b-256 |
52901c6c2bd7bf0609bf49d2786805fb8eb3ba1a46683bddc24f4b3ce08367e6
|