Skip to content

Repository files navigation

pride-art

Pride Art (Marie)

🎨 The pride art submission Discord bot for No Text To Speech!

Services

  • πŸ€– Bot - The main Discord bot (Node.js)
  • πŸ“ Redis - For data storage and caching

Project Structure

.
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ classes/      # Core classes
β”‚   β”œβ”€β”€ handlers/     # Event handlers
β”‚   └── listeners/    # Discord event listeners
β”œβ”€β”€ docker-compose.yml # Docker Compose configuration
β”œβ”€β”€ Dockerfile        # Docker configuration
└── .env              # Environment variables

Getting Started

  1. Clone the repository
  2. Copy .env.example to .env and fill in required values
  3. Choose your preferred setup method:

Local Development

# Install dependencies
yarn install

# Start development server
yarn dev

Using Docker

The bot can be run using Docker Compose:

# Build and start all services
docker compose up --build

# View logs
docker compose logs -f

# Stop all services
docker compose down

Individual services can be managed with:

# Start/stop specific service
docker compose up -d [bot|redis]
docker compose stop [bot|redis]

Environment Variables

Required environment variables:

  • BOT_ID - Discord bot ID
  • PUBLIC_KEY - Discord bot public key
  • TOKEN - Discord bot token
  • REDIS_HOST - Redis host (default: redis)
  • REDIS_PORT - Redis port (default: 6379)
  • SUBMISSION_CHANNEL_ID - Channel ID for art submissions
  • VOTE_CHANNEL_ID - Channel ID for voting

License

This project is licensed under the MIT License - see LICENSE for details.

About

πŸ–ΌοΈπŸŽ¨ An event bot for submitting art for the NTTS Pride Month Art Competition!

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages