A simple, extensible Discord bot written in Python
- Ready-to-use commands:
!ping!echo!fact!facts!quote!chat
- Easy to expand with your own commands and services
- Clean codebase structure for quick development
- OpenAI integration (API key required)
- Clone the repository
- Install dependencies
Make sure you're using Python 3.10+.
This project usespyproject.toml, so install with:Alternatively, use a PEP 517-compatible tool like poetry or pipx.pip install . - Set your Discord token and OpenAI API key
Place your credentials in environment variables:(On Linux/Mac useset DISCORD_TOKEN=your-discord-token set OPENAI_API_KEY=your-openai-key
exportinstead ofset) - Run the bot
python -m app.bot
Designed to be clean, fast, and easy to expand. The perfect starting point for your own Discord bot!