This bot is designed to keep track of user's workouts. It allows you to keep statistics on different exercises (abs, bars, push-ups, pull-ups) and get total statistics for the whole time, as well as detailed statistics on each exercise for different days.
git clone https://github.com/zachey01/WorkoutBot.git
- Rename
config.py.example
toconfig.py
and paste Telegram token pip install -r requirements.txt
py main.py
- Enjoy ^^
- Click on one of the four buttons: abs, bars, push-ups, pull-ups.
- Select the number of reps for this exercise by selecting one of the options from the menu.
- The data will be automatically saved and added to your statistics for the current day.
- Click the “Statistics” button to get your total statistics for the entire workout.
- Click the “Detailed Statistics” button to get statistics for each exercise for different days.
- You can press the “Cancel” button at any time to return to the main menu.
- User starts a chat with the bot.
- The user selects the “Press” exercise and enters the number of reps, e.g. 15.
- The bot saves the workout data.
- The user can request their stats, such as the total number of presses for the entire time.
- The bot automatically creates a new record for each workout day.
- For each exercise, an array is stored with the number of repetitions for each workout.