How to Host a Discord Bot on Heroku for Free - Discord.py Rewrite Tutorial #5

Hosting on Heroku – How to Host a Discord Bot on Heroku for Free – Discord.py Rewrite Tutorial #5


How to Host a Discord Bot on Heroku for Free – Discord.py Rewrite Tutorial #5

Hosting on Heroku

How to host your discord bot for free using heroku. This tutorial shows you how to host your python bot for free using heroku services. We simply need to setup a few things to heroku, upload our code and turn the bot on!

Text-Based Tutorial:

Heroku:

**************************************************************
WEBSITE:

proXPN VPN:
Use the Code “SAVE6144” For 50% Off!

One-Time Donations:

Support the Channel:

Twitter:

Join my discord server:
**************************************************************

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
– Tech With Tim
– How to host dicsord bot for free
– Hosting discord bot on heroku
– Free discord bot hosting
– Host python discord bot for free
– Python Tutorials

you search:

Hosting on Heroku

How to Host a Discord Bot on Heroku for Free – Discord.py Rewrite Tutorial #5

28 thoughts on “Hosting on Heroku – How to Host a Discord Bot on Heroku for Free – Discord.py Rewrite Tutorial #5

  1. When pushing to heroku, im getting the error "src refspec master does not match any" i've followed the tutorial exactly and even did it for a 2nd time to double check I did it correctly and it's still giving me the error.

  2. uhh so everything works for me but the bot doesnt come online.
    when i check the logs it says it cant run my file properly. can anyone help ?

  3. for those of you that need help wit the error: failed to push some refs to 'https://git…." and are using pycharm… what I did to fix the problem was not get rid of the ".txt" at the end of the requirements folder but used "pip freeze > requirements.txt" in the cmd and deleted all the text in there except the discord.py version. Then just do whatever he did after his failed.

  4. It is also working easier xD just download github desktop login and make a clone folder from the responsetory within the tool. then you just can drag and drop files into the folder and umpload them to github with the committhing in the desktopapp then just go to heruko and connect your responsenotry by searching like fist 2 letters and then you will find it so select it and then bot should working too

  5. If you are getting the error:
    remote: —–> App not compatible with buildpack: https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/python.tgz

    remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure

    remote:

    remote: ! Push failed

    remote: Verifying deploy…

    remote:

    remote: ! Push rejected to project-mm-beta.

    remote:

    To https://git.heroku.com/project-mm-beta.git

    ! [remote rejected] master -> master (pre-receive hook declined)

    error: failed to push some refs to 'https://git.heroku.com/project-mm-beta.git'

    Try:
    In your requirements.txt you have the following line:

    git+https://github.com/Rapptz/[email protected]

    Change that to "discord.py" or "discord.py==1.3.4"

    Worked for me thanks stack overflow user Tin Nguyen.

  6. so like when I say "git init" in cmd, it says "'git' is not recognized as an internal or external command, operable program or batch file."
    how do I install git?
    i tried pip install git
    but that got "ERROR: Could not find a version that satisfies the requirement git (from versions: none)

    ERROR: No matching distribution found for git"
    8:46

  7. All the things in the command prompt work for me but when I got to flick the switch on the heroku website to turn on the bot I don't see it there, does anyone know why?

  8. Hello! Been following for about a month and love your channel! I'm having some trouble setting up the application. When I insert the command "git push heroku master" it shows that I am enumerating and counting more than 14000 objects while in your video it only shows 7. I also have the error " pathspec 'rewrite' did not match any file(s) known to git.
    " and already tried to create a branch named "rewrite" but it does nothing. Does anyone know what it might be the problem?

Leave a Reply

Your email address will not be published. Required fields are marked *