This is a Telegram bot that allows you to track your daily activities and get statistics about them.
- Create a Telegram bot using BotFather
- Rename
sample_questions.json
toquestions.json
and fill it with your questions - Add token to
.env
file (see.env.sample
) - Add SQLite database path to
.env
file (see.env.sample
) - Add table name to
.env
file (see.env.sample
) - Install dependencies using
pip3 install -r requirements.txt
- Start the bot using
python3 bot.py
The database contains one table with the following columns:
id
- unique identifier of the recorduser_id
- Telegram user IDcreated_at
- date and time of the record creationquestion
- question textanswer
- answer text