Skip to content

ominhas/workout-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workout-bot

This creates a Discord bot that you can use to track workouts, and show a leaderboard based on who has tracked the most points.

Setup

  1. Clone the repository
git clone https://github.com/zainhussaini/workout-bot.git
  1. Create a Discord bot and generate a token at https://discord.com/developers/docs/topics/oauth2. At this step you can also add it to your Discord sever(s).
    1. Select bot in scopes
    2. Select Send Messages and Read Message History in bot permissions
  2. Set up redis server
sudo apt install redis
redis-cli
set 'DISCORD_TOKEN' '<insert token here>'
  1. Install python packages
pip3 install -U discord.py tabulate pandas datetime redis
  1. Test the program
python3 main.py
  1. Run the program in background
nohup python3 main.py &

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages