/ytdl-core

Primary LanguageJavaScript

ytdl-core

this is outdated but still works. ytdl-core is updated so, i recommended you to install latest ytdl-core insted of using this process.

this steps works only on localhost not no hosting. if you are hosting your bot to servers link heroku, repl.it, ect then check other videos on youtube.

step 1: open cmd and type

npm update

step 2: go to node_modules/lib/info.js and delete code available in it. now copy the code from here and paste it in info.js

now run your bot again.