So I currently have a Discord Bot (JAVASCRIPT) running in my private GitHub repository. I’m trying to find a way I can use my droplet to run that GitHub repository 24/7 so my Discord Bot is running 24/7.
The reason I want to use the GitHub repository is that I want to continuously update the bot through GitHub as well.
Please, if you know anyway, that will help me so much. Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello @Traid,
I could suggest starting with this tutorial here on how to build a Discord Bot with Node.js:
https://www.digitalocean.com/community/tutorials/how-to-build-a-discord-bot-with-node-js
Then to make your application run 24/7 you can follow the steps here on how to use PM2 to set up a Node.js Production Environment On An Ubuntu VPS:
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.