How Can I Run A Discord Bot 24/7 Now?

Hi there! Since Glitch just got rid of 3rd party apps, that means that I can no longer hook up uptime robot to my project, so how would I go about hosting my bot 24/7 now? I can’t really open my code every hour and run it.

Host it on a raspberry pi

How would I go about doing that? When I go onto the site, there are all of these machines.

@TheInsertNameHere What @anon69241012 is recommending here is that you self-host your bot - this means you buy a computer (like a Raspberry Pi) and run it 24/7 on that or you could get a VPS or purchase Boosted Apps. There are no free ways to host on Glitch 24/7 anymore :slight_smile:
Hope this helps,
Eddie

1 Like

Buy the glitch premium.

You can use Github Actions to host your bot like I did. Just make sure your repo is private unless you want discord to send you a message

1 Like

Or just self host ._.

1 Like

Running a discord bot through actions will kill your action quota

1 Like

How the hell did you manage to host your Discord Bot with github actions.

Some next level engineering right there.

There’s this new way that has just hit the market and is a prototype, might be something worth checking out.

lol, github’s all seeing team would probaly see that repo and delete it.
Also you don’t have enough hours to do it like ihack says

1 Like

I think repos have actions and they can do like nodejs. Not 24/7 though

Really thought github made a system where actions time out after some time.

You can keep the bot alive 24/7 if you commit to the repo every 6 hours :wink:

You only get 2000 minutes a month which is 33 hours approx.
See https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions

1 Like