Documentation
Standardized developer documentation template for Dexel. Designed with high-contrast typography, hairline cards, and responsive components.
Get up and running with automated setup and initial configuration.
Comprehensive reference for environment variables, flags, and runtime settings.
Overview #
Welcome to the standardized documentation portal. This layout adheres strictly to the Vercel Geist Monochrome Design System, using stark black-and-white contrast, 1px hairlines, and Geist Sans & Mono typography.
Quickstart #
Follow these instructions to initialize and run the service locally or integrate it into your existing workspace.
1. Add to Discord
Use the OAuth2 authorization URL with required permissions:
https://discord.com/oauth2/authorize?client_id=1467468160456101968&permissions=1100585352278&integration_type=0&scope=bot+applications.commands
2. Clone and Setup
Clone the codebase and install dependencies using your preferred package manager:
# Clone repository and install dependencies
git clone https://github.com/theadityasinghal/dexel.git
cd dexel
pip install -r requirements.txt
Configuration #
Configure runtime behavior via environment variables or a local .env configuration file.
| Variable | Type | Default | Description |
|---|---|---|---|
DISCORD_TOKEN |
string | required | Secret bot authorization token generated from Discord Developer Portal. |
ENVIRONMENT |
"dev" | "prod" | "prod" |
Execution context for logging verbosity and error reporting. |
PORT |
number | 3000 |
Local HTTP server port for status healthchecks and webhook listening. |
DEBUG_MODE |
boolean | false |
Enable granular console debugging logs and payload traces. |
.env file or secret credentials to public git repositories. Always utilize secret managers for production deployments.
Architecture & Design #
The architecture follows a modular event-driven structure with isolated execution handlers:
{
"system": "Dexel",
"runtime": "Python 3.11+",
"framework": "discord.py",
"storage": "PostgreSQL / Supabase"
}
Troubleshooting & Support #
Common issues and resolution steps when deploying or testing:
scope=bot+applications.commands so that slash commands register across your guild.