Since the recent action of youtube to close the most used bots on discord, I had the desire to create my own. This project being at the beginning "Je Reviens Of DevilKing", so it can also sends the message "I'll be back" every time a specific user disconnects from a specific discord voice room and allow you to "feur" your friends.
The bot has 4 commands:
You have to add the prefix before each command (e.g. &p [music]
)
p [music url or music name]
is used to start playing music.s
is used to skip the current musicw
is used to pause the current musicr
is used to resume the current musicfo
disconnects the bot and stops the music playingne
play the french Xiaomi 11 Lite NE Song.q
display the current music queue.feur
is used to be able to "feur" your friends
You will need a Youtube API Key and a Discord Developper Application !!
You can easily deploy it on Heroku with this button :
To see how to deploy it in the cloud, please see the section above
You can start this project in a few steps :
- Clone this directory,
- run the command npm install,
- download ffmpeg at ffmpeg.org and install "ffmpeg.exe", "ffplay.exe" and "ffprobe.exe" in the root folder
- Then rename the file '.env.dist' into '.env',
- Once you have your accounts and the keys, replace the variables in the '.env' with your own.
You can now launch it with the command npm start
.
The bot uses :
- Discord.JS - Website - Github repository
- dotenv - dotenv on npm
- esm - esm on npm
- google APIs Website - npm
- ffmpeg - website
- fluent ffmpeg - fluent-ffmpeg on npm
- ytdl core - Github repository - ytdl on npm
- Heroku Buildpack FFMPEG - Github repository
Who | GitHub | Portfolio | ||
---|---|---|---|---|
Azevedo Da Silva Antoine | HERE | HERE | HERE | HERE |
- Basic features (play/skip/quit)
- Searching music (Youtube API)
- Add first discord embeds
- Update Readme (How to deploy)
- Handle playlist request [Planned for 0.7 realease]
- Add "pause" & "resume" feature [Planned for 0.8 realease]
- Delete request message [Planned for 0.8 realease]
- Display actual song queue [Planned for 0.8 realease]
- Transform current function into modules [Planned for 0.9 realease]
- Add customs prefix [Planned for 0.8 realease]
- Add help for getting API Key [Planned for 0.9 realease]
- Change the "Xiaomi Song" into a custom song selection & add a disabling method [Planned before 0.9 realease]
- Fix "I'll be back" features and creates a disabling method [Planned before 1.0 realease]
- Add multi-language support (English/French to start) [Planned before 1.0 realease]
- Add Smart Assistant support [No plan]