← All freeCodeCamp videos

Code a Discord Bot with JavaScript - Host for Free in the Cloud

442,927 views 9,121 likes 2021-03-08 56:30 Watch on YouTube ↗ freeCodeCamp ↗
BackendWeb DevelopmentJavaScript

Chapters (10)

Show the creator's full description
Learn how to code a Discord bot using JavaScript / Node.js and host it for free in the cloud using Repl.it. You will also learn to use Repl.it's built-in database. 🚨 At 13:44, Replit now has a new method for environment variables. Read what to do here: https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables 🔗 Get 3 months FREE of the Hacker Plan on Repl.it (first 1000 people): https://repl.it/claim?code=tryalwayson2103 This course was developed by Beau Carnes. 🎥 Code a Discord Bot with Python Video: https://youtu.be/SPTfmiYiuok 💻 Full code on repl.it: https://repl.it/@BeauCarnes/Encourage-Bot-JS 🔗 Online code editor: https://repl.it 🔗 Discord Home Page: https://discord.com/ 🔗 Discord Developer Portal: https://discord.com/developers/applications 🔗 Discord.js library: https://discord.js.org/ Need help with this tutorial? You can ask questions here: https://forum.freecodecamp.org/ ⭐️ Course Contents ⭐️ ⌨️ (00:00) Introduction ⌨️ (01:38) Creating a Discord Server ⌨️ (02:27) Creating a Bot User ⌨️ (06:23) Starting a Project in Repl.it ⌨️ (08:37) Coding a Basic Discord Bot ⌨️ (15:44) Improving the Bot ⌨️ (26:35) Using the Repl.it Database to Store Bot Settings ⌨️ (46:08) Testing the Bot ⌨️ (50:22) Creating a Web Server for the Bot ⌨️ (55:06) Connecting Uptime Robot So Bot Runs Continuously Special thanks to Repl.it for providing a grant that made this course possible. -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Description and video by freeCodeCamp.org. This page is an independent companion view; the video is embedded from YouTube.