Skip to content

Waifu music bot

Last updated: June 7, 2023 | at 02:50 AM

❤️‍🔥 WaifuMusic

💨 Update 2.3.0

The bot now uses the latest version of discord.js and prefix commands are back again, added more function to it, a music channel where you can type your song and waifu will join the vc where you are in and play the music you entered. More updates information on our support server.

💦 Required

  • Node.js v18+
  • Discord.js v14
  • Distube
  • ffmpeg
  • libsodium-wrappers

🔰 First step

To run this correctly on your desktop/local device, please follow these steps.

To begin, obtain a copy of the code by either cloning it using Git or downloading the zip file.

git clone https://github.com/lrmn7/WaifuMusic-bot-discord.git
https://github.com/lrmn7/WaifuMusic-bot-discord/releases
To proceed, after obtaining a copy of the code through cloning or downloading and unzipping the file, open the source code and enter the following command in your console.
npm install
This command will install the necessary packages as specified in the package.json file.

💠 Config

With all packages now downloaded, proceed to the config.js file where you will be required to fill in important variables for configuration.

module.exports = {

WAIFU_TOKEN=YOUR TOKEN BOT
HACHIKI=OWNER_ID
HACHIKI_TAG=L`RMN#9749
HACHIKI_LINK=https://discord.com/users/{userid}
DEV_GUILD=YOUR SERVER ID

WAIFU_PREFIX=w! // YOUR PREFIX

MONGO_DB=YOUR MONGO_DB URL

WAIFU_TRACKS=https://open.spotify.com/playlist/6R4aE0V0YmcKJH8qjYBLFK?si=6523d3a5d4b446fd
SPOTIFY_SECRET=
SPOTIFY_CLIENT_ID=

YOUTUBE_COOKIE=

MAIN_COLOR=#2F3136
ERR_COLOR=#ED2828
}

💕 Running

Once the necessary variables have been entered in the config.js file, invite your bot to the server you fill in the config.js then, use the following command in your console to run your bot.

npm run start
If you want to start with shards run this.
npm run shards
- Congratiolations you now have a running bot and play music on vc's!

💫 Deploy

Glitch Badge       Deploy       Run on Repl.it       Run on Hop.io

NOTE: It is important to note that using this code to publish a bot publicly or advertising it without proper credit is strictly prohibited.