/WaveMusic

WaveMusic is a discord music bot base in (Shoukaku)

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Version Contributors Forks Stargazers Issues MIT License


Pbot-plus

WaveMusic

WaveMusic is a powerful music Bot

Report Bug ยท Request Feature

๐ŸŒ€ About

Readme Card

๐Ÿ”ฅ Unique Features

  • Developed Discord.js v14
  • Advanced Music System
  • Customizable Prefix
  • Powerful Search Engine
  • 12 + Music Filters
  • Hybrid Command Handling (Slash and Normal Commands)
  • Highly Configurable
  • User-friendly and Easy to Use
  • 24/7 Music Playback
  • Playlist commands
  • Setup music channel

๐ŸŽถ Support Sources

๐Ÿ” Default Sources:

  • YouTube
  • SoundCloud
  • Twitch
  • Bandcamp
  • Vimeo
  • http

๐Ÿ”Œ Plugin Sources: (Require: LavaLink v3.6.x)

Note: You need to install the plugins to use these sources

Need Help with plugins? Join our Discord Server and ask in the #support channel

๐Ÿ“š Commands

Click to View Commands
Name Description Options
prefix Shows the bot's prefix
help Shows the help menu command: The command you want to get info
on
info Shows information about the bot
invite Sends the bot's invite link
ping Shows the bot's ping
clearqueue Clears the queue
join Joins the voice channel
leave Leaves the voice channel
nowplaying Shows the currently playing song
play Plays a song from YouTube or Spotify song: The song you want to play
pause Pauses the current song
queue Shows the current queue
remove Removes a song from the queue song: The song number
resume Resumes the current song
seek Seeks to a certain time in the song
shuffle Shuffles the queue
skip Skips the current song
skipto Skips to a specific song in the queue
stop Stops the music and clears the queue
volume Sets the volume of the player number: The volume you want to set

๐Ÿ”ง Requirements

Before starting with the installation, you need to have the following:

๐Ÿš€ Installation from source

  1. Clone the WaveMusic repository:
git clone https://github.com/brblacky/WaveMusic.git
  1. change the directory to WaveMusic
cd WaveMusic
  1. Install the required packages:
npm i
  1. Set up your environment variables:

Create a .env file in the root directory of your project with the following variables:

TOKEN="." # Your bot token
PREFIX= "!" # Your prefix
OWNER_IDS= "" # Your id
CLIENT_ID= "960072976412340254" # Your bot client id
GUILD_ID= "859640640640640640" # Your server Id if you want to use the for single server
PRODUCTION="true" # true for production 
SEARCH_ENGINE= "ytsearch" # ytsearch, scsearch or ytmsearch
MAX_PLAYLIST_SIZE= "100" # Max playlist size
MAX_QUEUE_SIZE= "100" # Max queue size
BOT_STATUS= "online" # Your bot status
BOT_ACTIVITY= "Wavemusic" # Your bot activity
DATABASE_URL="mongodb+srv://xxyydd:ejejeje@cluster0.f93tcdq.mongodb.net/Bot" ## Your MongoDB URL (add database name at the end) example: mongodb+srv://xxyydd:ejejeje@cluster0.f93tcdq.mongodb.net/Bot
LAVALINK_URL="localhost:2333" # Your lavalink url
LAVALINK_AUTH="youshallnotpass" # Your lavalink password
LAVALINK_NAME="Blacky" # Your lavalink name
LAVALINK_SECURE= "true" # true for secure lavalink
BOT_ACTIVITY_TYPE=0 # Activity type is a number from 0 to 5 see more here https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-types
KEEP_ALIVE= "false" # true for keep alive for replit
  1. Generate the Prisma client:

If you using replit than read this:

go to prisma/schema.prisma and add engine type like this or remove // behind the engineType

generator client {
  provider = "prisma-client-js"
  engineType = "binary"
}

and then run this command

npx prisma generate
  1. Run the bot:
npm run start or npm start

Errors:

image

  • Fix this error to add database name in end of the DATABASE_URL like this mongodb+srv://xxyydd:ejejeje@cluster0.f93tcdq.mongodb.net/Bot

WaveMusic is a discord music bot base in Shoukaku If you liked this repository, feel free to leave a star โญ to help promote !

๐Ÿ’Œ Support Server

DiscordBanner Support Server - WaveMusic's Support Server Invite

Donate

By Donating, You Will Help Me To Maintain This Project

๐Ÿ” License

Distributed under the GPL License. See LICENSE for more information. FOSSA Status