GithubHelp home page GithubHelp logo

error about distube-music-bot HOT 4 CLOSED

tomato6966 avatar tomato6966 commented on May 25, 2024
error

from distube-music-bot.

Comments (4)

Tomato6966 avatar Tomato6966 commented on May 25, 2024 1
  1. What did u do?
  2. Which branche?
  3. Which line?

from distube-music-bot.

ibrahimbak avatar ibrahimbak commented on May 25, 2024
  1. What did u do?
  2. Which branche?
  3. Which line?

i tried to setup it on repl.it the bot starts but when i try to play any song it keeps showing this error. It does not show any specific line

from distube-music-bot.

Tomato6966 avatar Tomato6966 commented on May 25, 2024
  1. Dont user replit
  2. Which branche...

from distube-music-bot.

MrHomeless32 avatar MrHomeless32 commented on May 25, 2024

same issue, but only when using "lyrics"

using the latest version branch (only got the lyrics command, and the lyrics embed, the config for the lyrics, the delay function, and the random function) the rest are all from the "improved again" branch, and they all work perfectly

first there was no error, but it tells me that it didn't find any lyrics, then I removed if(!lyrics || lyrics === null || lyrics === "null") return message.reply("no lyrics found!") so that I can see what the issue is, in the errors, and I found this

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined (node:2055) 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: 2) (node:2055) [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

and I'm sure its not my geniusapi token
thank you in advance!

edit: btw I'm using replit, didn't have any issue so far, only the lyrics command is not working

edit: the code https://pastebin.com/qcAu6HaP

from distube-music-bot.

Related Issues (7)

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.