Mostfitperson
Project for the Bootdev hackathon.
Install / Use
/learn @C4rlis/MostfitpersonREADME
MostFitPersonBot
This bot is meant to make exercising competitive with your friends.
The bot is easy to build but might have some problems...
There are currently 4 commands:
/run— gives points based on how long you ran, average heart rate, and distance./gym— gives 25 points when used; can only be used once per day./top— shows the current top 3 users./daily_summary— shows the top 3 of that day plus a report on how many points you managed to get.
Setup
-
Install
uvif you do not have it already. You will also require Python 3.13+:pip install uv -
Run:
uv syncto sync project dependencies.
-
To run the bot, use:
uv run main.pyin the project directory.
You need a Discord bot token to run it. -
Get your bot token:
- Go to the Discord Developer Portal.
- Log in with your Discord account.
- Create a new application:
- Click New Application.
- Give your app a name and click Create.
- Add a bot to your application:
- In the left sidebar, click Bot.
- Click Add Bot, then confirm.
- Copy your bot token:
- Under the Bot section, find the Token area.
- Click Copy to copy your bot token.
-
Use the token in your project by:
- Adding it to a
.envfile (recommended), or - Directly in your code (not recommended for security reasons).
- Adding it to a
You're ready to run the bot!
