Skip to content

Lotus is a simple but powerful Discord bot made over Node.js that plays music from Youtube and Spotify immersed into Warframe game thematic.

Notifications You must be signed in to change notification settings

PressureDraper/Lotus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌸 Introduction 🌸

Lotus is a simple but powerful Discord bot made over Node.js that plays music from Youtube and Spotify immersed into Warframe game thematic. ❤️

Image

🌸 Requirements 🌸

  • 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

🌸 Installing dependencies 🌸

To avoid problems with packages, init node_modules folder and install modules as follows:

Execute all commands on the target folder you already created❗︎
  1. npm init
  2. npm install discord.js
  3. npm install distube@latest
  4. npm install @distube/yt-dlp@latest
  5. npm install @distube/ytdl-core@latest
  6. npm install @discordjs/opus
  7. npm install @distube/spotify@latest
  8. npm install libsodium-wrappers
  9. sudo apt install ffmpeg
  10. check ffmpeg version with:
ffmpeg -version

After this you should be ready to rock! 🥰

🌸 Configuration 🌸

  • 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
    image
  • 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. 😉

🌸 Lotus 🌸

If you want to invite Lotus to your discord, use the following link. (You must have admin permissions on the target server)

image

Commands

🌸 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 ~ 💓

About

Lotus is a simple but powerful Discord bot made over Node.js that plays music from Youtube and Spotify immersed into Warframe game thematic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published