Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fasterspeeding/tanjun

A flexible command framework designed to extend the Hikari experience
https://github.com/fasterspeeding/tanjun

dependency-injection discord discord-api discord-bot discord-bot-framework hacktoberfest hikari slash-commands tanjun

Last synced: 3 days ago
JSON representation

A flexible command framework designed to extend the Hikari experience

Awesome Lists containing this project

README

        

# Tanjun Library

A flexible command framework designed to extend Hikari.

# Installation

You can install Tanjun from PyPI using the following command in any Python 3.11 or above environment.

```
python -m pip install -U hikari-tanjun
```

# Getting started

For an overview on using Hikari for creating bots see [HG](https://hg.cursed.solutions/).

For a guide on Tanjun's main features see the [usage guide](https://tanjun.cursed.solutions/usage/).

There's also [Tanjun's general documentation](https://tanjun.cursed.solutions/), and some
[tutorials and articles](https://patchwork.systems/programming/hikari-discord-bot/index.html).

# Community Resources

* [Tan-chan](https://tanchan.cursed.solutions/) is a general utility library for
Tanjun. It includes a command annotation parsing extension which parses docstrings to
get the descriptions of slash commands and their options.
* Redis based implementations of the async cache dependency can be found in
[hikari-sake](https://sake.cursed.solutions/) \>=v1.0.1a1 (exposed by
[sake.redis.ResourceClient.add_to_tanjun][]).

# Support

[Hikari's support guild](https://discord.gg/hikari) provides for support for Tanjun.

# Contributing

Before contributing you should read through the
[contributing guidelines](https://github.com/FasterSpeeding/Tanjun/blob/master/CONTRIBUTING.md) and
the [code of conduct](https://github.com/FasterSpeeding/Tanjun/blob/master/CODE_OF_CONDUCT.md).