A flexible command & component handler
Project description
Aurum
Documentation · Releases · PyPI · License
A flexible command & component handler.
The main purpose of this library is to help you create a bot and implement its functionality. It makes the process simpler and easier. Our goal is to provide you, as developers, with complete freedom of action and to highlight the benefits of Hikari.
Installation
[!CAUTION] This library is in the planning stage of development, it cannot be installed and used. Thanks!
[!NOTE] This library requires Python version 3.10 or higher.
Run command:
pip install aurum-hikari
# Or
python -m pip install aurum-hikari # for unix-type systems
py -m pip install aurum-hikari # for windows
# You can use the -U flag with the `install` command (e.g., `pip install -U ...`) to update a package.
Usage
from hikari import GatewayBot
from aurum import Client, SlashCommand, callback
bot = GatewayBot("...")
client = Client(bot)
@client.include
class HelloCommand(SlashCommand):
def __init__(self) -> None:
super().__init__(name="hello", description="Say hi to bot")
async def callback(self, context: InteractionContext) -> None:
await context.create_response(f"Hi, {context.user.mention}!")
if __name__ == "__main__":
client.run()
More in examples folder.
Projects
So far, no one has been using our library.
Contributing
Not available yet.
Issues and bugs
If you find any errors in the library, please let us know about them on the issues Github page. Thanks!
Inspiration
- hikari-crescent - A command handler for Hikari that keeps your project neat and tidy.
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
Hashes for aurum_hikari-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eba91bc0899744cf79f8da9ca04692c29d7dcae14b29e82b0ee33b01282a5af3 |
|
MD5 | dbb7d6c579a003abe4b41c978d8c4de9 |
|
BLAKE2b-256 | c0745e359aa22bc5d05484ba8ad8123f9b46d2013e2e324003ae94af74a569e1 |