Skip to content

1mgr007/DisTube-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Music Bot

This is a simple DisTube example music bot. (DisTube Support Server)

Dependencies maybe outdated. You should update them yourself!

Please edit the ./config.json and ./Events/Client/ready.js file first.

Requirement

FAQ

  1. How do I get YouTube cookie ?

    • Navigate to YouTube in a web browser.
    • Please login to your YouTube account if needed.
    • Open up dev tools (opt+cmd+j on mac).
    • Go to the network tab.
    • Click on a request on the left.
    • Scroll down to "Request Headers".
    • Find the "cookie" header and copy its entire contents.
  2. How do I get Spotify clientId and clientSecret ?

    • Navigate to Spotify Developer Page.
    • Please login to your spotify account if needed.
    • Create an app.
    • Go to the app that you have created.
    • There you will get clientId and clientSecret.
  3. More on DisTube Support Server.

Config Information

  • Token = Secret Token Bot.
  • Prefix = Bot Prefix.
  • OwnerId = UserId of the Bot Owner.
  • Color = Embed Color.
  • youtubeCookie = YouTube Cookie.
  • clientId = Spotify clientId.
  • clientSecret = Spotify clientSecret.
  • MusicImg = Embed Image (optional).

Free Discord Bot Hosting

For Help

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Releases

No releases published

Packages

No packages published