Skip to content
Advertisement

Heroku fails to deploy Python discord bot

Every time i try to deploy my bot it shows me this error:

—–> Building on the Heroku-20 stack —–> Using buildpack: heroku/python —–> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure ! Push failed

I have Procfile, requirments.txt, runtime.txt.

The requirments.txt:

discord

The runtime.txt:

python-3.10.3

What should i do?

Advertisement

Answer

I fixed it, because i missed a letter in requirements.txt file name.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement