Skip to main content

Build bots faster with hirakord.

Project description

Easy to use command-line interface for building Discord bots in Python

NOTE: The helpers in this tool may not prove to be useful for everyone. You are welcome to open a PR if you notice any general improvements, bugs or want to contribute new helpers to this tool. BOT TEMPLATES ARE CURRENTLY WORK IN PROGRESS!!

Key Features

  • Modern Pythonic Interface

  • Easy to use

Planned Features

  • Web-based Documentation

  • Bot templates

  • Release on PyPi

Helpers

  • Cog

    • Slightly builds on discord.ext.commands.Cog.

  • Embed

    • Slightly different approach to discord.Embed.

  • Logger

    • Custom logger class with colour-coded prefixes based on log type.

  • Tree

    • Slightly builds on discord.app_commands.CommandTree, adds a custom event for app command errors

  • UI

    • Does some of the component set up for you such as optionally assigning custom_ids.

    • Comes packaged with SelectMenus for all supported Channel types as well!

Installing

Python3.8 or higher is required

To install the library without discord.py, run the following command

# Linux / MacOS
$ python3 -m pip install -U git+https://github.com/ExHiraku/hirakord

# Windows
$ py -3 -m pip install -U git+https://github.com/ExHiraku/hirakord

To install the library with discord.py, run the following command

$ git clone https://github.com/ExHiraku/hirakord
$ cd hirakord

# Linux / MacOS
$ python3 -m pip install -U .[discord]

# Windows
$ py -3 -m pip install -U .[discord]

Quick Example

# Installing a helper (Linux / MacOS)
$ python3 -m hirakord helper add logger

# Installing a helper (Windows)
$ py -m hirakord helper add logger

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hirakord-0.0.1.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

hirakord-0.0.1-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page