Skip to content

adamreis/slackbot-workout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slackbot-workout

A fun hack that gets Slackbot to force your teammates to work out!

Instructions

  1. Clone the repo and navigate into the directory in your terminal.

    $ git clone git@github.com:adamreis/exercise.git

  2. Go to https://api.slack.com/web, sign in, scroll down, and click "Create Token" for the Slack org you want to get #ripped.

  3. Create a secrets.py file in that directory with only one line containing your shiny new API token:

SLACK_API_TOKEN = 'xxxxxxxxxxxxxxxxxxxxxxxxxx'
  1. Customize exercises/stretches/rep counts/channel names in slackbotEercise.py (should be self explanatory, but get in touch if you have any questions).

  2. If you haven't set up pip for python, go in your terminal and run:

    $ sudo easy_install pip

  3. While in the project directory, run (preferrably with Python3 ;)

    $ sudo pip install -r requirements.txt

    $ python slackbotExercise.py

Run the script to start the workouts and hit ctrl+c to stop the script. Hope you have fun with it!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%