Hermaca - Discord Music Bot
A feature-rich Discord music bot built with Discord.js, Riffy, and Lavalink. This bot provides high-quality music playback with support for YouTube, Spotify, and more.
| Command | Description |
|โโโ|โโโโ-|
| /play <query> | Play a song or playlist from YouTube/Spotify |
| /pause | Pause the current track |
| /resume | Resume the current track |
| /skip | Skip the current track |
| /skipto <position> | Skip to a specific track in the queue |
| /stop | Stop playback and clear the queue |
| /queue / /q | Show the current queue |
| /nowplaying | Show current track information |
| /volume <0-100> | Adjust player volume |
| /servervolume <0-100> | Set permanent volume for this server |
| /filter <type> | Add audio filters (nightcore, vaporwave, bass, 8D, etc.) |
| /shuffle | Shuffle the current queue |
| /loop | Toggle queue loop mode |
| /move <from> <to> | Move a song to a different position in queue |
| /add <song> <position> | Add a track at specific position |
| /remove <position> | Remove a track from queue |
| /clear | Clear the entire queue |
| /lyrics | Show the lyrics of the current track |
| /song-quote <text> | Create an aesthetic quote image with current track |
| /status | Show current player status and statistics |
| Command | Description |
|โโโ|โโโโ-|
| /playspotify | Play your saved Spotify playlists |
| /setspotify <username> | Set your Spotify username for playlist access |
| Command | Description |
|โโโ|โโโโ-|
| /join [channel] | Make the bot join a voice channel |
| /leave | Make the bot leave the voice channel |
| /disconnect [user] | Disconnect a user from voice channel (or yourself) |
| /mute <user> | Mute a user in voice channel |
| /unmute <user> | Unmute a user in voice channel |
| /deafen <user> | Deafen a user in voice channel |
| /undeafen <user> | Undeafen a user in voice channel |
| /rejoin | Make the bot leave and rejoin the current voice channel |
| /shift <user> <channel> | Move a user to another voice channel |
| Command | Description |
|โโโ|โโโโ-|
| /mystats | View your personal music statistics across all servers |
| /stats [user] | View your or another userโs music statistics |
| /leaderboard | View global ranking of top listeners |
| /resetmystats | Reset your personal statistics (irreversible!) |
| Command | Description |
|โโโ|โโโโ-|
| /setprefix <prefix> | Change the botโs command prefix for this server |
| /setname <name> | Change the botโs server nickname |
| /setavatar <url> | Change the botโs server avatar |
| /setbanner <url> | Change the botโs server banner |
| /setbio <text> | Set the botโs server profile bio (About Me) |
| /resetprofile | Reset the botโs server profile to global defaults |
| Command | Description |
|โโโ|โโโโ-|
| /24-7 | Enable or disable 24/7 mode |
| /24-7-enable | Enable 24/7 mode in current voice channel |
| /24-7-disable | Disable 24/7 mode |
| Command | Description |
|โโโ|โโโโ-|
| /help [command] | Show all commands or get help for a specific command |
| /ping | Show the botโs ping and latency |
| /debug | Show bot status, uptime, and system information |
| /afk <reason> [image] | Set your AFK status with optional reason and image |
| /avatar [user] | View a userโs avatar |
| /banner [user] | View a userโs server banner |
| /emoji <emoji...> | Send emoji(s) as text |
| /membercount | Show the number of members, users, and bots in the server |
| /count | Manage the counting game |
| /quote [message] | Generate a quote image from a message |
| /react <emoji> | React to a message with an emoji (reply to a message) |
| /reveal | Reveal spoiler text in a message (reply to a message) |
| /say <text> | Make the bot say something |
| /purge <amount> | Delete messages in bulk |
Note: All commands work as BOTH slash and traditional prefix commands (default prefix:
~)












![]()







Create a .env file in the root directory with the following variables:
# Discord Bot Configuration
DISCORD_TOKEN=<Bot's_Token>
DISCORD_CLIENT_ID=<Bot's_Client_ID>
# Spotify API (for playlist playback)
SPOTIFY_CLIENT_ID=<Spotify_Client_ID>
SPOTIFY_CLIENT_SECRET=<Spotify_Client_Secret>
# Genius API (for lyrics fetching)
GENIUS_TOKEN=<Genius_token>:<Identifier>|<Genius_token2>:<Identifier>
# MongoDB Database
MONGO_URI=<MongoDB_Connection_String>
BOT_IDENTIFIER=<Unique_Identifier_For_Collections>
Where to get these tokens:
Contributions are welcome! Feel free to submit a Pull Request.
MIT License - see the LICENSE file for details.
โญ Star this repository if you find it useful!