-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the fleXRPL Discord Bot Wiki! This wiki serves as the central knowledge base for our GitHub-Discord integration bot.
- Bot Architecture - Core system design and components
- Command Reference - Detailed command documentation
- Webhook Integration - GitHub webhook setup and handling
- Deployment Guide - Deployment and hosting instructions
- Development Setup - Setting up local development environment
- Code Standards - Coding guidelines and best practices
- Testing Guide - Testing strategy and implementation
The fleXRPL Discord Bot provides seamless GitHub integration for Discord servers. This section will help you get started with the project.
- Python 3.11+
- Discord Developer Account
- GitHub Organization Admin access
- Railway.app Account
- Clone the repository:
git clone https://github.com/fleXRPL/flexrpl-discord-bot.git
cd flexrpl-discord-bot- Install dependencies:
pip install -r requirements.txt
pip install -r requirements-dev.txt- Set up environment variables:
cp .env.example .env
# Edit .env with your configurationThe bot follows a modular architecture designed for reliability and maintainability:
-
Bot Layer (
/src/bot/)- Command handling
- Event processing
- Discord interactions
-
Webhook Handler (
/src/handlers/)- GitHub webhook processing
- Event validation
- Notification dispatch
-
Utilities (
/src/utils/)- Message formatting
- Permission management
- Configuration handling
- Framework: discord.py
- API: FastAPI
- Security: PyNaCl
- Testing: pytest
flexrpl-discord-bot/
├── src # Source code
│ ├── bot # Discord bot implementation
│ ├── handlers # Webhook and event handlers
│ └── utils # Utility functions and helpers
├── tests # Test suite
│ ├── bot # Bot functionality tests
│ ├── handlers # Handler tests
│ └── utils # Utility function tests
└── docs # Additional documentation
Run the test suite:
pytestWe follow strict Python standards using:
- Black for code formatting
- Flake8 for linting
- isort for import sorting
See our Command Reference guide for detailed bot commands documentation.
See our Deployment Guide for details on hosting and configuration.
This project is licensed under the MIT License - see the LICENSE file for details.
This documentation is maintained by the fleXRP team.
[[TOC]]