Like-bot for TinyDB database

Creteate new environment

python3 -m venv venv

Activate environment

source venv/bin/activate

Activate environment for Windows

venv/Scripts/activate

Create requirements.txt .gitignore

touch requirements.txt .gitignore

Install requirements

pip install -r requirements.txt

export TOKEN eniviron variable

export TOKEN=your_token

Database with TinyDB

{
    "__default": {
        "user1":{
            "like": 0,
            "dislike": 0
        },
        "user2":{
            "like": 0,
            "dislike": 0
        }
    }
}