BotMeriendo’s music commands let you stream audio from YouTube directly into voice channels. Commands accept both keyword searches and direct URLs, including individual videos and full playlists.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.
The default command prefix is
!. You can change it by setting the TRGGKEY environment variable before starting the bot. All examples on this page use the default ! prefix.Command Reference
!play <query or URL>
Searches YouTube for the top result matching your query, or queues a direct video or playlist URL.
- If you are not already in a voice channel, the bot automatically joins the voice channel you are currently in.
- When a search query is provided (no
httpprefix), the bot runs aytsearch:lookup via yt-dlp and queues the top result. - When a video URL is provided, the bot extracts metadata using a fast flat-extract pass and adds the track to the queue.
- When a playlist URL is provided, entries are added to the queue in order, up to the 30-song maximum (
MAX_QUEUE_SIZE = 30). The bot sends a single confirmation message showing the playlist title and the number of tracks added. - The bot sends a
➕ Añadido a la cola: **<title>**confirmation message for each individually queued track. - Audio stream URLs are resolved Just-In-Time (immediately before playback), keeping queue operations fast and lightweight.
!skip
Skips the currently playing song and immediately advances to the next entry in the queue.
⏭️ Canción saltada. If the queue is empty after skipping, it announces that playback has ended.
The ⏭️ Skip button on the “Now Playing” embed performs the same action without typing a command. See Interactive Controls below.
!stop
Stops playback immediately and clears the entire queue.
!leave to also disconnect it.
!pause
Pauses the currently playing song. The bot stays in the voice channel and the queue is preserved.
⏸️ Música pausada.
The ⏸️ Pausa button on the “Now Playing” embed performs the same action. After pausing, the button label changes to ▶️ Reanudar.
!resume
Resumes a previously paused song from where it was paused.
▶️ Música reanudada.
The ▶️ Reanudar button on the “Now Playing” embed (shown after pausing) performs the same action. After resuming, the button reverts to ⏸️ Pausa.
!queue
Displays all songs currently waiting in the playback queue. The currently playing song is not included in this list.
The queue is per-server (guild) and holds a maximum of 30 entries (
MAX_QUEUE_SIZE = 30). If the queue is empty, the bot replies with La cola está vacía.!join
Makes the bot join your current voice channel without starting playback.
- If you are not in a voice channel, the bot replies:
¡Debes estar en un canal de voz! - If the bot lacks the Connect permission for that channel, it replies:
No tengo permisos para conectarme a ese canal.
!leave
Disconnects the bot from the voice channel and clears the current guild’s queue.
No estoy en ningún canal de voz.
Interactive Controls
When!play successfully starts a song, BotMeriendo sends a “Reproduciendo ahora” (Now Playing) embed into the text channel. The embed includes:
| Field | Content |
|---|---|
| Title | Reproduciendo ahora |
| Description | Clickable hyperlink to the YouTube video — [Song Title](video_url) |
| Color | Green (#00ff00) |
| Button | Style | Action |
|---|---|---|
| ⏸️ Pausa | Blurple | Pauses playback. Label changes to ▶️ Reanudar (green) when paused. |
| ⏭️ Skip | Red | Skips to the next song in the queue. |
Queue Limits
The queue has a hard cap of 30 songs (For playlists longer than 30 tracks, only the first 30 entries will be added.
MAX_QUEUE_SIZE = 30). If you attempt to add items beyond this limit, the bot sends a warning: