Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sidcraftscode/rowing-bot
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.
https://github.com/sidcraftscode/rowing-bot
actions bot discord-bot github rowing scheduler
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/sidcraftscode/rowing-bot
- Owner: sidcraftscode
- License: mit
- Created: 2024-08-14T22:21:48.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-29T09:52:36.000Z (about 2 months ago)
- Last Synced: 2024-09-30T23:23:42.597Z (about 2 months ago)
- Topics: actions, bot, discord-bot, github, rowing, scheduler
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Rowing Bot
A discord bot built for the [r/Rowing discord community](https://discord.gg/Mujt9ATJjp) 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](https://github.com/Rapptz/discord.py). It runs on **GitHub actions** weekly using a cron job.## Running the project locally
### Prerequisites
python3### Installation
1. Install dependencies
```
python -m pip install --upgrade pip
pip install -r requirements.txt
```2. 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
```3. 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'
```4. Run the python file
```
python main.py
```## Built with
* Python 3
* discord.py## Features
- [x] Sends a workout each week to the workout-of-the-week channel
- [x] Runs automatically on GitHub actions## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details