tyggbot is a twitch chat bot created by pajlada.
Examples of twitch channels where the bot is run:
Bot name | Twitch channel | Maintainer |
---|---|---|
Tyggbot | Tyggbar | pajlada |
Snusbot | Forsen | pajlada |
botnextdoor | NymN_HS | pajlada |
Annies_Bot | AnnieFuchsia | GiggleArrows |
cougarbot | TaruliHS | pajlada |
potatisbot | RosenMVP | pajlada |
pajbot | pajlada | pajlada |
lanbot144 | Landon144 | pajlada |
Snookibot | SnookiPoof | Dorsens |
TODO: Continue working on the installation instructions.
- Install library requirements by typing
pip install -r pip-requirements.txt
in the root folder - Copy
install/config.example.ini
to./config.ini
and change the relevant lines in the file. - Run the bot!
./main.py
The guide below will set up the bot to run as a PM2 service.
MySQL 5.6 Python 3 (Tested with 3.4) PM2
- Install and set up MySQL 5.6 on your server. For Ubuntu 14.04, this you would type this:
sudo apt-get install mysql-server-5.6
. - Install PM2
- Open up a MySQL CLI logged in as root.
- Type in the following commands:
- Create a config file according to the specifications in wiki and save it somewhere in the root code folder. (TODO: configs should be able to be located anywhere...)
- Start the bot using PM2:
pm2 start main.py --name="NAME_OF_BOT" --output="/path/to/output.log" --error="/path/to/error.out" --merge-logs -- --config path/to//config.ini
The code is most likely messy and ugly, this is my first "full scale" python project.