GithubHelp home page GithubHelp logo

tomato6966 / distube-music-bot Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 31.0 52 KB

An advanced music bot based on distube.js.org with filters and more

License: GNU Affero General Public License v3.0

JavaScript 100.00%
distube music filters spotify youtube soundcloud autoplay prefix discordjs discord-js

distube-music-bot's Introduction

Distube Music Bot

PRs Welcome Maintenance Ask Me Anything ! Support Server

An advanced Music Bot based on distube.js.org

You can always invite the Bot to your Server if you wish, its public and you can use it!

NO API-KEY NEEDED! That's because it uses a scraper (youtube-sr)!

Installation | How to use the Bot

1. Install node.js v12 or higher

2. Install ffmpeg@latest

3. Download this repo and unzip it | or git clone it

4. Install all of the packages with npm install | the packages are npm install node.js @discordjs/opus discord.js distube

5. start the bot with node index.js

Video:

NOTE:

Make sure that you have installed FFmpeg, and added it to Systemenvironment variables (PATH)

If you are having errors/problems with starting delete the package.json file and do, before you install the packages npm init




SUPPORT ME AND MILRATO DEVELOPMENT

You can always Support me by inviting one of my own Discord Bots

2021's best Music Bot | Lava Music Musicium Music Bot Milrato Multi Bot

Credits

If consider using this Bot, make sure to credit me!

distube-music-bot's People

Contributors

nxvvvv avatar tomato6966 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

distube-music-bot's Issues

distube.on is not a function

my console says that distube.on is not a function

TypeError: distube.on is not a function
at Object. (/home/runner/distube-music/index.js:113:14)
at Module._compile (node:internal/modules/cjs/loader:1159:14)

Error: spawn ENOMEM

a memory leak error that your bot keeps spitting out.
more info from me in the discord server

Error on stop command

Select a radio station to play. Type in the stop command and it won't stop.
Error in console shows: ReferenceError: db is not defined (line388).

Latest branch used.

error

(node:3876) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined
(node:3876) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3876) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.