Hey everyone! I'm on the hunt for some solid resources to help me learn how to build bots using Python, specifically chatbots and Discord bots. I already have a good understanding of Python, but I'd love to expand my skills in bot development. If anyone has any suggestions on where to start or what to check out, I'd really appreciate it!
4 Answers
A while back, I found this site that had some great info: devdungeon.com/content/make-discord-bot-python. The article might be a bit old, but it still covers the basics pretty well. Nowadays, I usually go straight to the API documentation on discordpy.readthedocs.io. It's super helpful!
Creating a Discord bot is actually pretty straightforward and a lot of fun! Just start with the discordpy documentation, and you might want to snag an example repository from GitHub to kick things off. It's a good way to learn the ropes!
I really appreciate posts like yours that focus on asking for resources instead of just asking how to do something step-by-step. It shows a genuine desire to learn, which is awesome! Good luck with your bot project!
When it comes to making bots, it really depends on what you're trying to accomplish. Here are a few different approaches:
- You could run your bot on a schedule, checking for the latest data each time it runs and then acting accordingly.
- Alternatively, you can have your bot always on, polling for updates regularly.
- Or, you might set up your bot to react to notifications directly from the system using webhooks.
I suggest looking into the specific platform you're working with to see what options they provide, as they often have example projects to help you get started!

Thank you! I'll check these out!