umutxyp / MusicBot

An enhanced music bot that is compatible with discord.js v14 and works with slash commands. Discord music bot codes that can be used on any server and are simple to install.
https://discord.gg/codes
987 stars 1.07k forks source link

An error encountered: PlayingError: MC is not defined #72

Closed b2210356054 closed 1 year ago

b2210356054 commented 1 year ago

Every time I use play normal command, for every song I tried I got this error.

Die-Antwoord commented 1 year ago

same error on my side, it also does this with Spotify.

An error encountered: PlayingError: MC is not defined
Id: 7CgQEvO4DDk
Name: Imagine Dragons - Easy Come Easy Go (Official Lyric Video)
FaheemQuazi commented 1 year ago

Can confirm as well, same error, and I don't see any references to a variable of that name to try and fix it. Any clues where to start?

Die-Antwoord commented 1 year ago

Ok so the bot is working again. but there is now this error in the command console

WARNING: ytdl-core is out of date! Update with "npm install @distube/ytdl-core@latest".
(node:26) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

It may be related to the issue.

umutxyp commented 1 year ago

this problem is fixed. Basically it wasn't from my project anyway.