sotif / pajbot

Twitch moderation bot

Home Page:https://pajbot.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pajbot Python 4HEad

pajbot is a twitch chat bot created by pajlada.
Website

Note: pajbot is in maintenance mode. This means we focus on keeping the project alive by not allowing major overhauls of any pajbot system or any major features. Fixing bugs, updating dependencies and ensuring that code interacting with external APIs still function will be our main goal. Feature requests will not be accepted unless someone is willing to own the feature, and even then some features that change too much of the architecture won't be allowed. Current minimal supported Python version is 3.9.

Python versioning

We use pyenv to manage Python versions. Get familiar with this tool.
Quick install of pyenv on Linux systems: curl https://pyenv.run | bash

If you don't want to use pyenv's version of Python in any of our scripts, set the SKIP_PYENV environment variable to 1.

Quick install

  1. Install library requirements by typing ./scripts/venvinstall.sh in the root folder
  2. Copy ./configs/example.ini to ./config.ini and change the relevant lines in the file.
  3. Run the bot! ./main.py

Detailed install

You can find a detailed installation guide for pajbot in the install-docs directory of this repository.

Run-time options

Some values can be set to apply to your bot without modifying the config file, these are mostly for out-of-bot things.
They are configured using environment variables. The following options are available:

  • PB1_LOG_HIDE_TIMESTAMPS
    If this option is set to 1, all log entries will be printed without a timestamp prefix.

About

Twitch moderation bot

https://pajbot.com/

License:MIT License


Languages

Language:Python 80.3%Language:JavaScript 10.3%Language:HTML 8.0%Language:CSS 1.0%Language:Shell 0.2%Language:PLpgSQL 0.1%