A discord bot built for the r/Rowing discord community that automatically sends the workout of the week in the #workout-of-the-week
channel from a list of 52 workouts. It uses Python 3 and discord.py. It runs on GitHub actions weekly using a cron job.
python3
- Install dependencies
python -m pip install --upgrade pip
pip install -r requirements.txt
- Create a .env file and add the discord token for your bot to it In the shell run:
touch .env
To .env
add:
export DISCORD_BOT_TOKEN="your token here"
Then run in the shell
source .env
- Open
bot.py
and change the name of the channel to the channel you want to send the messages to
channel_name = 'workout-of-the-week'
- Run the python file
python main.py
- Python 3
- discord.py
- Sends a workout each week to the workout-of-the-week channel
- Runs automatically on GitHub actions
This project is licensed under the MIT License - see the LICENSE.md file for details