Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

discord.js-musicbot-addon crahses when play command is used. #5

Open
JGriffin34432 opened this issue Jul 4, 2018 · 1 comment
Open
Assignees
Labels
bug Something isn't working dependencies
Milestone

Comments

@JGriffin34432
Copy link
Owner

Describe the bug
A clear and concise description of what the bug is.

discord.js-musicbot-addon module crashes when play button is used.

To Reproduce
Steps to reproduce the behavior:

  1. do !play
  2. Error appears in console and then nothing plays.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

(node:3064) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'type' of undefined
    at exports.determineType.type (D:\skywarn\node_modules\ytsearcher\lib\deps\determineType.js:11:57)
    at Promise (D:\skywarn\node_modules\ytsearcher\lib\struct\YTSearch.js:81:15)
    at new Promise (<anonymous>)
    at YTSearch.search (D:\skywarn\node_modules\ytsearcher\lib\struct\YTSearch.js:68:12)
    at YTSearcher.search (D:\skywarn\node_modules\ytsearcher\lib\struct\YTSearcher.js:76:8)
    at msg.channel.send.then.response (D:\skywarn\node_modules\discord.js-musicbot-addon\index.js:1331:29)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:3064) 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(). (rejection id: 2)
(node:3064) [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.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows 10 Home Build 1803
  • Browser [e.g. chrome, safari] Discord Client
  • Version [e.g. 22] N/A

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@JGriffin34432 JGriffin34432 self-assigned this Jul 4, 2018
@JGriffin34432 JGriffin34432 added the bug Something isn't working label Jul 4, 2018
@JGriffin34432 JGriffin34432 added this to the v3.0 Release milestone Jul 11, 2018
@JGriffin34432
Copy link
Owner Author

This issue will not be fixed for a while, so be please be patient.

Repository owner locked as too heated and limited conversation to collaborators Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working dependencies
Projects
None yet
Development

No branches or pull requests

1 participant