Lotus is a simple but powerful Discord bot made over Node.js that plays music from Youtube and Spotify immersed into Warframe game thematic. ❤️
- Have discord app already created.
- Have installed node.js.
- Have created a target folder where all files will be storaged.
- Have enabled Discord developer mode (random info video)
- Node.js version MUST be 18.12.1 or higer
- NPM version MUST be 9.2.0 or higher
To avoid problems with packages, init node_modules folder and install modules as follows:
Execute all commands on the target folder you already created❗︎
- npm init
- npm install discord.js
- npm install distube@latest
- npm install @distube/yt-dlp@latest
- npm install @distube/ytdl-core@latest
- npm install @discordjs/opus
- npm install @distube/spotify@latest
- npm install libsodium-wrappers
- sudo apt install ffmpeg
- check ffmpeg version with:
ffmpeg -version
After this you should be ready to rock! 🥰
- Clone or create your own config.json file.
- Put your main ID discord channel on the ready listener displayed in lotus.js file. (line 38) - right click on the channel -> copy ID
- Change prefix if you want, displayed in lotus.js file. (line 34)
- Change channel.send messages for your bot.
- Change client.distube arguments if you want to. (line 20 - 32)
- Personalize embed message to the user who use
help
command displayed in lotus.js file. (line 262 - 297)
I highly recommend you to check out Distube.js and Discord.js documentation to get a better understanding of the using of all stuff. 😉
If you want to invite Lotus to your discord, use the following link. (You must have admin permissions on the target server)
🌸 Music 🌸
*play song name
or *p song name
: Play any song/playlist from Youtube or Spotify ~
*repeat
or *loop all
: Repeat all queue songs ~ 🔄
*repeat
or *loop single
: Repeat only current song ~ 🔂
*repeat
or *loop off
: Switch to off repeat mode ~ ❌ 🔄
*stop
: Empty current queue and stop the music ~ 🚫
*song
: Displays the name of the current playing song ~ 1️⃣ 🎶
*pause
: Pause current song or queue ~ ⏸️
*resume
: Continue playing songs ~ :play_pause:
*skip
: Skip current song ~ :track_next:
*queue
or *q
: Show current song list ~ 🔢
*shuffle
: Shuffle current playlist songs : 🔀
*volume 0 - 100
: Only when a song is playing, you can use this command to increase or decrease Lotus volume ~ 🔉 🔊
🌸 Filters 🌸
Only when a song is playing, you can choose one of these filters to change music perception:
*3d
| *bassboost
| *echo
| *karaoke
| *nightcore
| *vaporwave
Note: To turn off any filter, just type the command of the filter you selected again.
🌸 Management 🌸
*join
: Tell Lotus to join your current voice channel ~ 🌸 😊
*leave
: Tell Lotus to leave your current voice channel ~ 😭 👌
*ping
: Check if Lotus is being chased by Ballas again showing her heartbeat ~ 💓