clubsandsocs-bot
A Discord bot for getting events, committee members, and more from Clubs and Societies websites.
Invite the bot to your server
Click here to invite the bot to your server
Docker Deployment
Prerequisites
- Docker and Docker Compose installed
- Environment variables configured
Quick Start with Docker Compose
- Clone this repository
-
Copy
.env.exampleto.envand fill in your environment variables:bash cp .env.example .env -
Edit
.envwith your actual values:env DISCORD_TOKEN=your_discord_bot_token_here DISCORD_CLIENT_ID=your_discord_client_id_here DISCORD_GUILD_ID=your_discord_guild_id_here CLUBS_AND_SOCS_WEBSITE=your_clubs_and_socs_website_endpoint_here -
Run with Docker Compose:
bash docker-compose up -d
Environment Variables
| Variable | Description | Required |
|---|---|---|
DISCORD_TOKEN |
Your Discord bot token | Yes |
DISCORD_CLIENT_ID |
Your Discord application client ID | Yes |
DISCORD_GUILD_ID |
Your Discord guild (server) ID for guild commands | No |
CLUBS_AND_SOCS_WEBSITE |
Base endpoint for clubs and societies API | Yes |
Docker Image
The Docker image is automatically built and published to GitHub Container Registry on every push to the main branch. You can pull it directly:
docker pull ghcr.io/cheeselad/clubsandsocs-bot:latest