watermark logo

āĻĒāϰāĻŦāĻ°ā§āϤ⧀ āφāϏāϛ⧇

āĻ¸ā§āĻŦāϝāĻŧāĻ‚āĻ•ā§āϰāĻŋāϝāĻŧ āϚāĻžāϞ⧁

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

2 āĻ­āĻŋāω â€ĸ 10/30/24
āĻļ⧇āϝāĻŧāĻžāϰ āĻ•āϰ⧁āύ
āĻŦāϏāĻžāύ
121gamers
121gamers
14 āϏāĻžāĻŦāĻ¸ā§āĻ•ā§āϰāĻžāχāĻŦāĻžāϰ
14

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

āφāϰ⧋ āĻĻ⧇āϖ⧁āύ
0 āĻŽāĻ¨ā§āϤāĻŦā§āϝ sort āĻ•ā§āϰāĻŽāĻžāύ⧁āϏāĻžāϰ
āĻĢ⧇āϏāĻŦ⧁āĻ• āĻŽāĻ¨ā§āϤāĻŦā§āϝ

āĻĒāϰāĻŦāĻ°ā§āϤ⧀ āφāϏāϛ⧇

āĻ¸ā§āĻŦāϝāĻŧāĻ‚āĻ•ā§āϰāĻŋāϝāĻŧ āϚāĻžāϞ⧁