How can i deploy my python based bot to Heroku properly?

  discord.py, heroku, python

The modules I want to use

Hello everyone,i want to deploy my discord bot to heroku for use it all the time so I don’t have to run my scripts any more.The bot must contain all modules above.

Plus,I use cogs for categorizing commands.

I have some of required files for heroku in my script path which is:


-Procfile

-requirements.txt

I have a heroku app also.All I have to do is deploy my multi file bot.I don’t know what to do.

-Is there another required files such as init.py or something like that? Or is that enough for deploying multiple files to heroku?

-How can i deploy my bot which contain all modules above to heroku properly?Thanks

Source: Python Questions

LEAVE A COMMENT