Heroku 无法部署 Python discord bot

Heroku fails to deploy Python discord bot

每次我尝试部署我的机器人时,它都会向我显示此错误:

-----> 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

我有 Procfile,requirments.txt,runtime.txt。

requirments.txt:

discord

runtime.txt:

python-3.10.3

我该怎么办?

我修复了它,因为我在 requirements.txt 文件名中遗漏了一个字母。