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.jsontoquestions.jsonand fill it with your questions - Add token to
.envfile (see.env.sample) - Add SQLite database path to
.envfile (see.env.sample) - Add table name to
.envfile (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