A powerful, modern Discord music bot for seamless audio streaming, advanced filters, and interactive controls.
- ⏯️ Pause/Resume Button: Instantly and reliably pause or resume music playback with clear feedback.
- 🔁 Replay Button: Always restarts the current song from the beginning, regardless of previous state.
- 🎚️ Instant Audio Filters: Apply audio filters (Nightcore, Bass Boost, 8D, etc.) with near-instant effect and immediate user feedback.
- 🚪 Robust Leave Button: Leave channel button never crashes the bot and always responds gracefully.
- 🎶 Queue & Playback Controls: Skip, shuffle, stop, and more, all with interactive buttons.
- 🖼️ Now Playing Panel: Beautiful music card with progress bar, controls, and filter selection.
- 💬 Slash Commands: Modern, easy-to-use slash commands for all major features.
- 🛡️ Error Handling: All user actions are acknowledged, and errors are handled gracefully.
- 📥 Clone the repository
git clone <repo-url> cd Audic-FIxed
- 📦 Install dependencies
npm install
- ⚙️ Set up your environment variables
- Create a file named
.env
in the project root. - Add the following variables (see below for how to get them):
DISCORD_TOKEN=your_discord_bot_token CLIENT_ID=your_discord_client_id LAVALINK_HOST=your_lavalink_host LAVALINK_PORT=your_lavalink_port LAVALINK_PASSWORD=your_lavalink_password SUPPORT_SERVER=your_support_server_url (optional)
- How to get these:
DISCORD_TOKEN
andCLIENT_ID
: Create a Discord bot application, copy the token and client ID from the "Bot" and "General Information" tabs.LAVALINK_HOST
,LAVALINK_PORT
,LAVALINK_PASSWORD
: Set up your own Lavalink server or use a public Lavalink host (if available). Enter the host, port, and password as provided by your Lavalink instance.SUPPORT_SERVER
: (Optional) Your Discord support server invite link.
- Create a file named
▶️ Run the botnode index.js
- Use the OAuth2 URL generator in the Discord Developer Portal to create an invite link with the
bot
andapplications.commands
scopes, and permissions for reading, sending messages, and managing voice channels.
- Join a voice channel.
- Use
/play <song name or URL>
to start playing music. - Use the interactive buttons (Pause/Resume, Replay, Skip, Shuffle, Stop) or slash commands to control playback.
- Use the filter dropdown in the Now Playing panel or slash commands like
/nightcore
,/bassboost
, etc. - Filters are applied instantly and acknowledged in chat.
- Use the Pause/Resume button or
/pause
and/resume
commands.
- Use the Leave Channel button or
/leave
command to disconnect the bot from voice.
- Use
/help
to see all available commands and features. - For support, contact HX Dev on Discord.
Special thanks to HX Dev for their help in fixing, optimizing, and improving the bot's features and user experience! 💡
You can reach out to HX Dev on Discord. 💬
Enjoy your music experience! 🎧
-
Clone the repository
git clone https://github.com/Unknownz/MusicBot.git cd MusicBot
-
Set up environment variables
- Open a
.env
file in the root directory. - Add the all variables:
- Open a
-
Install dependencies
Run the following command:npm install
-
Start the bot
Execute the following command to start the bot:node index.js
- Invite the bot to your Discord server using the OAuth2 URL.
- Use bot commands to play and manage music queues.
- If you encounter any issues, contact me on Discord: Unknownz.
We welcome contributions! Feel free to fork the repository and submit pull requests.
If you like this project, consider starring the repository to show your support!
This updated version includes your Discord ID link with your header username "Unknownz." Let me know if there's anything else you'd like adjusted!