Create a Bot for your Whatsapp to play Music, send memes and much more! Integrate it on your mobile and enjoy it together with friends.
MIT License
Simply type in !play
and then the name of the song you want to play . Example - !play Humble by Kendrick Lamar
(or if you want to watch a music video)
Type in !stream
and then the name of the music-video you want to play . Example - !stream Fuji Opener by Skrillex
D:\
and rename it to ffmpeg
(or other disc drives of your choice)🪟+s
(windows key + s) and type in Environment Variables
and press ENTER
Environment variables
and then click on path
row of the "System Variables" section and click on Edit...
New
and type in D:\ffmpeg\bin
this address and click on OK
and apply
and ffmpeg is all setffmpeg -version
If it gives the version number then all good otherwise refer to Sensei for further help :D
git clone https://github.com/Nialled69/whatsapp-musician.git
cd whatsapp_musician
Run the below line to initiate a node project
npm init
type in cd
in the terminal. If the path ends with \whatsapp_musician
, then run the below line -
npm i axios qrcode-terminal ytdl-core yt-search whatsapp-web.js
Make sure that your ffmpeg path is set at D:\ffmpeg\bin
. If not, open the song_finder.js
, go to line no. 17 and update the FFmpeg path.
After making sure of all the above factors, type in -
npm start
Scan the QR code in the terminal from your mobile whatsapp and it will start working. Make sure that your current whatsapp version supports Multi Device Beta
Tag Everyone in the group chat with !everyone
command . (Important when you need to announce something for everyone in the chat)
Get unlimited memes with the command !meme
, freshly scraped from the most popular communities on Reddit with the lastest Web-Scraping Technology .
This might take some time. If you want very fast responses , then reduce the delay by clicking on this link
Watch any video from youtube (music videos are mostly preferrable) directly in your whatsapp chat.
Simply type in !stream
and then the name of the music-video you want to play . Example - !stream Enter Sandman by Metallica
and the video file wil be sent to the user.
Note - This takes a huge time since video size may vary and this feature greatly depends on your internet speed and bandwidth. If you want to fix this issue , click in here