Bot to register "daily mood" on Iluca's NikoNiko, randomly pick a mood and post it.
Only tested on Linux.
Python
Python version 3.6 or above
python3 --version
Clone the repository
Git is required
git --version
Clone it
Virtual env
Optional, but Run.sh
assumes you have setup a virtual env as such:
python3 -m venv venv
Dependencies
Activate the virtual env first:
source ./venv/bin/activate
Install dependencies:
pip3 install -r requirements.txt
Executable
Allows execution of entry point (not needed for Windows)
chmod +x NikoNiko.py
or, if using the virtual env
chmod +x Run.sh
Run it once to set it up.
Crontab
Post it at 17:30 from Monday to Friday
30 17 * * 1-5 <install path>/nikoniko/Run.sh >> <where you want the logs>/nikoniko.log
git pull
Unmodified MIT license
See License.md