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-
Toppkommentarer
-
Senaste kommentarerna