Before running BotMeriendo you need a Discord bot application and a token from the Discord Developer Portal. This page walks you through creating the application, enabling the privileged intents BotMeriendo requires, and generating an invite URL so the bot can join your server.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.
Create the bot application
Open the Discord Developer Portal
Go to https://discord.com/developers/applications and sign in with your Discord account.
Create a new application
Click New Application in the top-right corner. Give it a name — for example,
BotMeriendo — then click Create.Add a bot user
In the left sidebar select Bot, then click Add Bot. Confirm when prompted. This creates the bot user that will connect to Discord and appear in your server.
Copy the bot token
Under the Token section click Reset Token (you may be asked to enter your 2FA code). Copy the token that appears — this is your
TOKEN value. Store it somewhere safe; Discord will not show it again.Save the token to your .env file
Open the See Env Variables for the full variable reference.
.env file in the project root and set the TOKEN variable:Required intents
BotMeriendo callsdiscord.Intents.all() and explicitly enables message_content so that prefix commands can read message text. The relevant lines from src/main.py are:
discord.Intents.all() are Privileged Gateway Intents that must be manually enabled in the Developer Portal before the bot is allowed to receive that data.
In the Developer Portal, navigate to your application → Bot → Privileged Gateway Intents and enable all three toggles:
| Intent | Why BotMeriendo needs it |
|---|---|
| Message Content Intent | Required to read the text of messages so prefix commands (e.g. !play) can be parsed. |
| Server Members Intent | Required by discord.Intents.all() — lets the bot track member joins, leaves, and voice-state changes. |
| Presence Intent | Required by discord.Intents.all() — lets the bot observe user presence and activity data. |
Invite the bot to your server
Select bot permissions
A Bot Permissions panel will appear below the scopes. Enable the following permissions so BotMeriendo can join voice channels and respond in text channels:
- Connect
- Speak
- Send Messages
- Embed Links
- Read Message History