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.

? 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

And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp

Similar Posts