How do I get my discord bot to play music from YouTube (without link)?

319 views Asked by At

I'm very new to this.

I've made a bot for discord and now i want it to play music from YouTube, without having to put in a link.

I'm using Heroku and am getting several errors, that I really need help with.

I have tried pushing it several times, but I'm unsure what else can do.

Error when pushing heroku

When i try searching for a youtube song

Dynos

Hope someone can help me :)

1

There are 1 answers

4
SatvikVejendla On

It looks like you may have forgotten to write the dyno to tell Heroku what to run. Try adding a Procfile to your project and name it "worker: node index.js". From what I understand, your second message says "missing script: start".