/Taiga

The official Taiga bot

Primary LanguagePythonMIT LicenseMIT

Taiga Bot

By JadenLabs & Community

The official Taiga bot, from the Taiga supremacy Discord server


Setup

Prerequisites

  • Git
  • Python
  • Pip
  1. Clone the repo

    git clone https://github.com/JadenLabs/Taiga.git
  2. Change directories into the code

    cd Taiga
  3. Install dependencies

    pip install -r requirements.txt
  4. Open example.env and put your bot's values in there, then rename it to .env or anything with the prefix .env (ie: .env.dev). If you use a name other than .env, you will need to use the -e <env file> flag.

  5. Open config.toml and adjust it to your needs. Like the .env, if you use a name other than config.toml for the config, use the -c <config file> flag.

  6. Run the bot

    python [-O] main.py [-e ENV] [-c CONFIG]

    -O sets __debug__ to False, disabling cogwatch.

    Example:

    python -O main.py

Usage

usage: main.py [-h] [-e ENV] [-c CONFIG]

options:
-h, --help show this help message and exit
-e ENV, --env ENV The env file to use
-c CONFIG, --config CONFIG The config file to use

Contributing

Please open an issue for any feature requests or bug reports. Alternatively, message @roc.py on Discord.

If there is an open issue that you'd like to work on, feel free to fork the repo and make a PR when you're done.

Guidelines:

  • Use the Conventional Commits commit style.
  • Use the Black formatter for Python.
  • Do not push code that you do not have the rights to.
  • Do not push code that has primarily been generated by a llm, using it to debug is fine.