Create Your Own Discord Bot in Python 3.12 Tutorial
Create Your Own Discord Bot in Python 3.12 Tutorial (2024 Edition)
#Create #Discord #Bot #Python #Tutorial
“Indently”
Today we will be learning how we can create a Discord Bot from scratch in Python. We will host it on a local server and it will be able to respond to users in less than 20 minutes! A perfect tutorial for getting started with Discord Bots in 2024.
▶ Become job-ready with Python:
▶ Follow me on Instagram:
Developer Portal:
00:00 Intro
00:15 PyCharm
00:25 Pip install
01:05 Project files
02:15 Bot setup
06:36 Imports
08:19 Handling intents
09:26 Message functionality
13:24 Adding responses
15:29 Improve your Python skills
16:08 Bot startup
16:40 Handling incoming messages
18:22 Almost done
18:54 Running our bot
19:18 Fixing our mistake
19:52 It’s alive!
20:42 You can edit it
21:27 Hosting your bot
21:46 See you in the next video!
source
To see the full content, share this page by clicking one of the buttons below |
Source code:
https://github.com/federicoazzu/discord_tutorial_2024
Hi! Really love the tutorial. Was just wondering, cause when I try to run the script I get a error message saying "asyncio.run() cannot be called from an running event loop", I just can't figure out what is causing this error.
im doing this on replit. would there be any difference?
how do you enable the local tab? i only see terminal, debug console, problems, output, ports.
Can you make a tutorial, how to add slash commands to THIS Version of a Discord Bot? But good job, thanks
Thank you bro
Thank you for this so much! Now I am well on my way to creating an AI chatbot using python for discord!
I need a whatsapp bot
Twitter bot next
Thanks for the video and all the contents you’ve created. I’ve recently bought a couple of Udemy courses from you and they’re amazing. Congrats.
Great job, well presented – thanks!
Great video and bot!
If your bot is not working, you can do this:
1) Open Terminal
2) Put this command: /Applications/Python 3.12/Install Certificates.command
3) Put this command: pip3 install –upgrade certifi
4) Run your bot again
Requirements
1) Mac OS X
2) Python 3.12
good video
Thank you