Code a Discord Bot with Python - Host for Free in the Cloud
Learn how to code a Discord bot using Python and host it for free in the cloud using Repl.it.
🚨Note: At 16:43, Replit now has a new method for environment variables. Check the docs: https://docs.replit.com/progra....mming-ide/storing-se
Along the way, you will learn to use Repl.it's built-in database and create a Discord bot that uses webhooks to connect with GitHub.
Need help with this tutorial? You can ask questions here: https://forum.freecodecamp.org/
This course was developed by Beau Carnes.
🔗 Online code editor: https://repl.it
🔗 Discord Home Page: https://discord.com/
🔗 Discord Developer Portal: https://discord.com/developers/applications
💻 Python server code for bot: https://gist.github.com/beauca....rnes/51ec37412ab181a
💻 Full code on repl.it: https://repl.it/@BeauCarnes/Encourage-Bot
⭐️ Course Contents ⭐️
⌨️ (00:00) Introduction
⌨️ (01:18) Creating a Discord Server
⌨️ (01:52) Creating a Bot User
⌨️ (06:05) Starting a Project in Repl.it
⌨️ (09:33) Coding a Basic Discord Bot
⌨️ (20:14) Improving the Bot
⌨️ (33:35) Using the Repl.it Database to Store Bot Settings
⌨️ (56:09) Testing the Bot
⌨️ (58:42) Creating a Web Server for the Bot
⌨️ (1:03:36) Connecting Uptime Robot So Bot Runs Continuously
⌨️ (1:05:21) Creating a GitHub Discord Bot Using Webhooks
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
SORT BY-
Top Comments
-
Latest comments