File driven wrappers around lightbulb extensions and plugins.
Project description
Hecate
File driven wrappers around lightbulb extensions and plugins.
Installation
Hecate can be installed through pip
pip install lightbulb-ext-hecate
First Steps
A pong slash command template for a basic hecate extension can be generated by running
python -m lightbulb.ext.hecate --template REL_PATH_TO_PY
granted a .py extension file already exists in the desired directory.
The following directory structure
.
└── extension.py
will become
.
├── slash-commands
│ ├── pong_count.py
│ └── ping.py
├── __modify__.py
└── extension.py
Usage
# Import the Plugin class
from lightbulb.ext.hecate import Plugin
# Create a Plugin instance (__file__ is necessary to fetch the commands and events in other files)
plugin = Plugin('EXTENSION', __file__)
# Plain lightbulb extension load method
def load(bot):
bot.add_plugin(plugin)
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
Close
Hashes for lightbulb_ext_hecate-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9025c19ce9656c90053b900ee2888c6d185c2142d56912642c61c3f20efa859f |
|
MD5 | 3267bb5811f5e825d0ae9ba47bd994ce |
|
BLAKE2b-256 | 2f8e64b251a9819cb08425e9537079dc46fdc11e5cd75a35e06afe22cc977937 |
Close
Hashes for lightbulb_ext_hecate-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 840a5b34b51c32bfa0852c49bfd4648d9e8e6a5519cf66bd3ff9e4a49c1977a2 |
|
MD5 | 6173c7637c9fee20eba12f9c3e53b97d |
|
BLAKE2b-256 | 2fe2455e4326e15a7f0f792c62fbeabc8d2ac40365c341da292da9b8deffe2f6 |