Powered by Lavalink & Shoukaku
"Everyone deserves to run a music bot without gatekeeping."
Mazha v2 is an open-sourced Discord music bot built with Discord.js v14, Shoukaku v4, and Kazagumo. It comes packed with multi-source playback, audio filters, playlists, favourites, slash commands, and more.
This source has been made publicly available because a number of copycats were reselling / rebranding the bot without giving back to the community. Transparency wins.
| Category | What You Get |
|---|---|
| Music | Play, Search, Skip, Queue, Shuffle, Loop, Pause, Resume, Seek, Forward, Rewind, Replay, 24/7, Autoplay |
| Audio Filters | 8D, Bass, Nightcore, Vaporwave, LoFi, Karaoke, Earrape, Dance, Pop, Rock, Party, Radio, Stereo, Slow Reverb, Electronic, Darth Vader, Treblebass |
| Sources | YouTube, Spotify, Deezer, SoundCloud, JioSaavn |
| Playlists | Create, Load, Add, Remove, Delete, Info, List, Duplicate removal |
| Favourites | Like, Show Liked, Play Liked, Clear Likes |
| Settings | Custom Prefix, Per-Guild Themes, AFK, Ignore Channel, Move-Me, Avatar, Banner |
| Owner Tools | Node Management, Reload, Vote Bypass, Team Management, Server Invite |
| Dev Tools | Dokdo (eval), Debug utilities |
| Sharding | Hybrid sharding via discord-hybrid-sharding |
| Database | SQLite / PostgreSQL / MySQL / MariaDB support via Sequelize |
Mazha/
├── index.js # Cluster manager entry point
├── package.json
├── src/
│ ├── mazha.js # Main bot bootstrap
│ ├── config.js # Bot config (tokens, nodes, prefix)
│ ├── base/ # Logger, emoji data, fonts
│ ├── commands/ # Prefix commands (10 categories)
│ │ ├── Music/ # play, skip, queue, loop, ...
│ │ ├── Filters/ # 8d, bass, nightcore, ...
│ │ ├── Playlist/ # create, load, add, ...
│ │ ├── Favourite/ # like, showliked, playliked, ...
│ │ ├── Sources/ # youtube, spotify, deezer, ...
│ │ ├── Settings/ # afk, theme, ignorechannel, ...
│ │ ├── General/ # help, ping, stats, invite, ...
│ │ ├── Owner/ # node, reload, team, ...
│ │ ├── Dev/ # eval
│ │ └── Spotify/ # spotify deep integration
│ ├── slashCommands/ # Slash command mirrors
│ ├── structures/ # MusicClient, Canvas, FilterExtend
│ ├── handlers/ # Command & event loaders
│ ├── events/ # Client, Node, Player event handlers
│ ├── services/ # Business logic
│ ├── models/ # Sequelize models
│ ├── database/ # DB initialization
│ ├── schema/ # Schema definitions
│ ├── data/ # Static data
│ └── utils/ # Shoukaku options, helpers
- Node.js 18 or higher
- Yarn (or npm)
- A running Lavalink v4 node
- A Discord Bot Token — Discord Developer Portal
git clone https://github.com/knownasrazi/mazha-v2.git
cd mazha-v2yarn installEdit src/config.js with your credentials:
module.exports = {
token: 'YOUR_BOT_TOKEN',
clientId: 'YOUR_CLIENT_ID',
prefix: '-',
ownerID: ['YOUR_DISCORD_ID'],
SpotifyID: '',
SpotifySecret: '',
// ...
nodes: [
{
name: 'Lavalink',
url: 'localhost:2333',
auth: 'youshallnotpass',
secure: false
}
]
};yarn start
# or
yarn dev| Dependency | Purpose |
|---|---|
| Lavalink v4 | Audio processing & streaming server |
| Discord.js v14 | Discord API wrapper |
| Shoukaku v4 | Lavalink wrapper for Node.js |
| Kazagumo | Enhanced Lavalink wrapper with source plugins |
Original Source Code — Nothing Music Bot by Ankush26030
This project is a heavily modified and extended fork of the original Nothing music bot. All core architecture and design belong to Ankush26030. Go star their repo if you appreciate the work.
| Who | Role |
|---|---|
| Ankush26030 | Original Nothing Music Bot creator & source code owner |
| Razi | Mazha v2 — Open-sourced to the community |
This source was intentionally released publicly because multiple individuals were selling / rebranding this bot privately while claiming it as their own. The community deserves access.
If you fork or redistribute this bot:
- Keep the credits section intact.
- Do not sell it as your own work.
- Link back to the original repos.
Respect the ecosystem. Open source means sharing, not gatekeeping.
This project is licensed under the ISC License — see the package.json for details.
Built with care. Shared with the community.
Made by Razi | Based on Nothing Music Bot