Skip to content

Chocolatefundido666/Bot-musica-discord

Repository files navigation

✨ PoS Music | Discord Music Bot

PoS Music is a simple bot made in discord.js, I have made this one to be easily hosted through Replit, and it working 2022!

And PLEASE add this bot to tour server and vote us!

Top.gg


Requirements

  1. Discord Bot Token Guide
  2. YouTube Data API v3 Key Guide
    2.1 (Optional) Soundcloud Client ID Guide
  3. Node.js v12.0.0 or newer

🚀 Step-by-step Guide

If you are going to be Hosting through repl.it then follow these steps!

  1. Go to replit website and log in or sing up

image

  1. After login, go to home page and click on "+ Create"

image

  1. Then Select "Import from GitHub"

image

  1. Go to PoS Music GitHub page, click "Code" and copy the link

image

  1. Go back to replit and paste the link in to description column

image

  1. And then push this blue button!

image

  1. After the replit system cloned, you should see this page

image

  1. Go to .replit window and make sure description of "Configure the Run Command" is "node index.js", then click "Done"

image

  1. Go to the config.json file, then add the token and API key

⚠️ Note: Make sure you don't share your Token or Api Key with anyone else, Avoid uploeding them in public repo's ⚠️

{
  "TOKEN": "YOUR TOKEN HERE",
  "YOUTUBE_API_KEY": "YT API KEY HERE",
  "SOUNDCLOUD_CLIENT_ID": "(Options)Soundcloud Client ID Here",
  "MAX_PLAYLIST_SIZE": 100,
  "PREFIX": "ub!",
  "PRUNING": false,
  "STAY_TIME": 30,
  "DEFAULT_VOLUME": 100
}

image

  1. Go to shell and enter npm i then WAIT!

image

  1. After a long wait, we can finally run the music bot!

image

  1. "Run"

image

  1. Your bot is running now!

image image

  1. But now we are going to host it 24/7 Go to UptimeRobot website and Log In or Register for FREE

image

  1. Go to dashboard and click "+ Add New Monitor"

image

  1. Go back to replit and copy your link

image

  1. Back to UptimeRobot and make your settings like this

image

  1. After creating a monitor, UptimeRobot would come and wake your website every 5 minitues. Which would make your repl hosted 24/7

Enjoy your bot!

image


📝 Features & Commands

Note: The default prefix is 'ub!'

  • 🎶 Play music from YouTube via url

ub!play https://www.youtube.com/watch?v=vQ3XgMKAgxc

  • 🔎 Play music from YouTube via search query

ub!play Avicii - Lonely Together

  • 🎶 Play music from Soundcloud via url

ub!play https://soundcloud.com/aviciiofficial/lonely-together-acoustic-feat?utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing

  • 🔎 Search and select music to play

ub!search Lonely Together

Reply with song number or numbers seperated by comma that you wish to play

Examples: 1 or 1,2,3

  • 📃 Play youtube playlists via url

ub!playlist https://www.youtube.com/watch?v=YlUKcNNmywk&list=PL5RNCwK3GIO13SR_o57bGJCEmqFAwq82c

  • 🔎 Play youtube playlists via search query

ub!playlist linkin park meteora

  • Now Playing (ub!nowplaying, ub!np)
  • Queue system (ub!queue, ub!q)
  • Loop / Repeat (ub!loop)
  • Shuffle (ub!shuffle)
  • Volume control (ub!volume, ub!v)
  • Lyrics (ub!lyrics, ub!ly)
  • Pause (ub!pause)
  • Resume (ub!resume, ub!r)
  • Skip (ub!skip, ub!s)
  • Skip to song # in queue (ub!skipto, ub!st)
  • Remove song # from queue (ub!remove, ub!rm)
  • Toggle pruning of bot messages (ub!pruning)
  • Disconnect (ub!disconnect, ub!dc)
  • Help Center (ub!help, ub!h)
  • And much more!
  • Command Handler from discordjs.guide
  • Media Controls via Reactions

image


🤝 Contributions

Feel Free to fork this repo and make changes! :D Also you can contribute or fix issues if any Just git-pull after making changes, your help is greatly appreciated

✅ Discord server

You can join my discord server ℙ𝕦𝕣𝕤𝕦𝕚𝕥 𝕠𝕗 𝕊𝕡𝕖𝕖𝕕!

About

Algo

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published