0

so i'm making a discord bot in python and want to deploy it to Heroku to have the bot running 24/7. but Heroku isn't detecting my Procfile(and yes, that is not a .txt file) i've search on google and viewed questions like This and This but still it's not working. here's the Procfile code: worker: python bot.py can anybody help me with this? TIA!

1 Answers1

0

Some Online Guides seem to advise using the echo command to create the Procfile - not a text editor or the git files creator. Make sure you're in the correct directory and then use on the command line

echo>Procfile

Creating the Procfile with this method has been recommended and been successfully used to fix this issue in at least one other thread.

Edit: This support thread may help as well.

Dharman
  • 26,923
  • 21
  • 73
  • 125