Running BotMeriendo directly with Python — without Docker — is the most convenient setup for active development and testing. You get a shorter feedback loop: edit a file, restart the process, and see the result immediately. Python 3.11 or newer is required, along with FFmpeg installed at the system level so the voice pipeline can encode audio.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Melendo/BotMeriendo/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Python 3.11 or newer
Download and install Python from python.org or your system package manager. Verify the version with:
Check Python version
A Discord bot token
Create a bot application at the Discord Developer Portal and copy the token. You will need it when configuring the
.env file.Setup and run
Create a virtual environment and activate it
Using a virtual environment keeps the project’s dependencies isolated from your system Python installation:
Create the environment
Install dependencies
With the virtual environment active, install all required Python packages:This installs
Install
discord.py[voice], yt-dlp, PyNaCl, and python-dotenv as declared in requirements.txt.Create and configure .env
Copy the example file and fill in your values:
Create .env
.env
TOKEN— your Discord bot token.TRGGKEY— the command prefix character (defaults to!).
Development tips
- Source code lives in
src/— the bot is structured as a package with cogs (src/cogs/), utilities (src/utils/), and a central config module (src/config.py). Any change you make takes effect the next time you restart the process. - Logs go to two places at once — the logging setup in
src/utils/logger.pywrites to bothbot.logand stdout simultaneously, so you can watch the terminal and also inspect the file after the fact. - The
src/volume mount indocker-compose.yml— if you switch to Docker, the compose file mounts./srcinto the container at/app/src. This means you can edit source files on the host and restart the container (without a full rebuild) to pick up the changes.