Create Your Own Discord Bot in Python 3.10 Tutorial (2022 Edition)

  Переглядів 334,849

Indently

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 15 minutes! A perfect tutorial for getting started with Discord Bots in 2022.
▶ Become job-ready with Python:
www.indently.io
▶ Follow me on Instagram:
/ indentlyreels
Developer Portal:
/ discord
00:00 Demo
01:30 Getting started
04:16 New project
04:49 Creating responses
07:03 Discord bot functionality
09:25 Inviting the bot to our server
10:52 Finishing our bot
13:15 Running the bot

КОМЕНТАРІ: 549
@Indently
@Indently Рік тому
I've noticed that they had a recent update in Discord. If your code is missing intents, try creating some: intents = discord.Intents.default() intents.message_content = True client = discord.Client(intents=intents) Also remember to go on the developer website and under the "BOT" section you can toggle a new "MESSAGE CONTENT INTENT" switch. For the 2024 version + source code: ukposts.info/have/v-deo/jYl7eIGKmJ5euKs.html
@sugarrush708
@sugarrush708 Рік тому
@@ronrishadi Did you learn where to put it? I seem to be having the same issue as you.
@avinashtotlani6703
@avinashtotlani6703 Рік тому
it works thanks thanks alot for this mate
@hans4595
@hans4595 Рік тому
Does anyone know whye ven after putting the intents, message.content is still empty for me?
@luxe4295
@luxe4295 Рік тому
i need help it says "AttributeError: module 'bot' has no attribute 'run_discord_bot' " what do I do I really need that bot help me plzz
@zoo-logic1496
@zoo-logic1496 Рік тому
​@@ronrishadi
@diegobonaventura8501
@diegobonaventura8501 Рік тому
client = discord.Client(intents=discord.Intents.default()) I had to add this to the program to get it to work
@____________________________x
@____________________________x 11 місяців тому
Yeop I had pain with that
@yumishamiko
@yumishamiko 10 місяців тому
Can be the bot multipurpose, moddings, emebeds, autoresponders and etc but not super multipurpose just the basic multipurpose
@unknownmovies4351
@unknownmovies4351 9 місяців тому
​@@____________________________xwhere to put this?
@unknownmovies4351
@unknownmovies4351 9 місяців тому
where should I add this?
@____________________________x
@____________________________x 9 місяців тому
@@unknownmovies4351 right after import discord
@orlandodgpim
@orlandodgpim 10 місяців тому
I might be able to create a custom bot that i need for a client thanks to this video. Making bots is not my area of work, but this video has helped a lot. Thank you
@ishaannaolekar3126
@ishaannaolekar3126 Рік тому
amazing video bro thanks for the help got my bot running just had to do the intents change in the code and the bot as well thanks to everyone else as well who pointed it out in the chat
@Danimx02
@Danimx02 9 місяців тому
i have the same problem. What did you do to solve it
@Luchsevans
@Luchsevans 10 місяців тому
Thanks a lot. Your video was very good to follow along while coding.
@fahnub
@fahnub Рік тому
Thanks for this. Helped me with my project.
@gotmiurgos_
@gotmiurgos_ Рік тому
Open source just changes the game, now it's only something everyone has until something new is released but yeah version 3.10 seems to ease copy and paste and adds more fun for us in the loop world.
@e2k220
@e2k220 Рік тому
simple and easy to understand thanks for the basics
@marcellaudenberg4365
@marcellaudenberg4365 Рік тому
Love your vids helping me so much ❤️
@DefinedEdits
@DefinedEdits Рік тому
great tutorial, I appreciate it
@Parven05
@Parven05 Рік тому
Thanks man ! Today I learn the basics to make a discord bot with python
@Pytho_n
@Pytho_n Рік тому
dude, I just discovered your channel. You have the best voice for teaching.
@Indently
@Indently Рік тому
I will happily accept that compliment, thank you 🙂
@Pytho_n
@Pytho_n Рік тому
@@Indently i just refunded a course I got on udemy. Used the refund money to purchase your course 💯🙌🏾
@Indently
@Indently Рік тому
No way aha, I'm super flattered! I hope you enjoy! I'm adding new lessons there nearly every day at the moment!
@ari_theflower
@ari_theflower 8 місяців тому
honestlyyyy it's so calming and such a vibe
@tokyodynamite6497
@tokyodynamite6497 Рік тому
ty for the video. super easy to follow
@jackyin953
@jackyin953 9 місяців тому
Thank you so much! Super helpful video
@crispy.caesus
@crispy.caesus Рік тому
thx good video love the use of try except and several files
@jgplayz
@jgplayz Рік тому
*for private bots* select 'none' for 'default authorisation link' otherwise it wont let you make it private
@lajawi2115
@lajawi2115 7 місяців тому
But how to invite it once there is no link?
@thesaltyspoon7483
@thesaltyspoon7483 Рік тому
godly tutorial btw, straight to the point and I now know all the basics to make a discord bot god bless🙏
@WilliamW1979
@WilliamW1979 Рік тому
The key is the top left most key on your keyboard, to the left of 1. It is how you do comments in Discord.
@JonathanSoriano-bv6zi
@JonathanSoriano-bv6zi 5 місяців тому
Hello Just wanna ask if what software did you use for this? Is it Visual Studio? If not, can i do it in visual studio?
@wholegz1103
@wholegz1103 Рік тому
Hi guys just to say the "backwards tick" is achieved by hitting the tilde key on your keyboard which is just bellow escape. :)
@jas2890
@jas2890 11 місяців тому
Only really works in countries that have dollar signs as their currency like Canada or Australia most other places have their other symbol on the number row i.e. £, ¥, or € in which case the hash symbol is moved under the backspace, I believe this person is Scandinavian so he would have a hash where you are describing. The place the "backtick" is moved to everywhere else is to the left of the 1 key along with the "broken bar" and "not sign".
@Glintuu
@Glintuu 11 місяців тому
Thanks, this helped alot. :)
@_Maskus
@_Maskus 6 місяців тому
Hey, I'm following along and I've created some problems that are because of decisions I've made just winding if anyone might have insight or be able to help. For starters I code in a few different languages so I'm using vscode instead of pycharm because I'd rather not need to deal with multiple IDE's and this is working out best for me so far. However this means I don't have the default files in this video so I'm not sure if I need to do something about that. Also I believe I have npm in place of pip so when you installed discord I had to skip that step as I was unsure to my equivalent. If anyone has advice surrounding these differences for me I'm all ears.
@DaRollinThunder
@DaRollinThunder 10 місяців тому
Hey, first off thanks for the vid. I was having a bit of trouble and I can't seem to find the answer. How do I actually run the main on python to get that interface? ( 4:19 ) I keep getting the cmd for python
@Jamaipanese
@Jamaipanese Рік тому
AMAZING! Clear, informative and python noob friendly! Going to use this as a base to make a bot now! THANK YOU!
@lightest..
@lightest.. Рік тому
lol
@-odin
@-odin 11 місяців тому
uhm.. how to open python tho
@pete8420
@pete8420 Рік тому
the '`' key will often show up as the squiggly '~' key to the left of your '1' key that is on the number row.
@lordender_kitty_official
@lordender_kitty_official 7 місяців тому
6:27 isn't that character a back tick? also known as a grave. `. it's usually right above the tab key and beside the 1 key. pressing it while holding shift gives a tilde ~.
@pilotgfx
@pilotgfx 7 місяців тому
depends on the layout , for me i have to shift + the button left to backspace: ` , and without shift: ´ , holding alt gr: | (public service info
@loganeast3901
@loganeast3901 3 місяці тому
My thoughts exactly. I know it as a back tick from experience programming, but I was shocked to hear him say "you'll just have to copy it from the internet". Although with the state of minimalistic keyboards these days maybe it's not surprising. Maybe I'm old school but I'm still running with the whole works: Querty, F1-F12, Esc, System keys (Print screen, Insert, Delete, etc.), NumPad, arrow keys, and an additional M1-M5
@itemaz
@itemaz Рік тому
thx you are the first people who could help me
@ari_theflower
@ari_theflower 8 місяців тому
aww sweet
@Ewout761
@Ewout761 Рік тому
6:37 the backtick is usually found left of the 1 button on your keyboard
@Indently
@Indently Рік тому
My keyboard only shows me: "| \" but if I hold down "opt" on Mac it does give me the back tick there.
@Moki314
@Moki314 Рік тому
If you run into any weird problems, make sure you have response / responses correct in the send_message - speaking from experience
@prismstealthx100
@prismstealthx100 Рік тому
thanks, my spelling was wrong in that line , but it still doesn't work :')
@Moki314
@Moki314 Рік тому
@@prismstealthx100 I spent a few hours debugging my code before I got it to work, I even used Chat GPT to help find mistakes which isn't perfect by any means, but still helpful - Keep working at it, you'll get it to work eventually!
@prismstealthx100
@prismstealthx100 Рік тому
@@Moki314 yep, i am going to try again tomorrow, if still doesn't work, then i will see another video
@evanley9972
@evanley9972 Рік тому
thanks , such a good video
@MrLucaslucal
@MrLucaslucal 5 місяців тому
Thank, you helped me a lot!
@G3rryx
@G3rryx Рік тому
Parli veramente bene inglese + bravissimo. Grazie mille !
@syl-does-games
@syl-does-games Рік тому
Good tutorial! A few hiccups but browsing the comments should give you enough info to get it working :)
@Indently
@Indently Рік тому
Happy it worked for you! I know they had a recent update which absolutely destroyed 99.99% of all Discord tutorials recently. But I'll make sure to make an updated one in the winter time. Thanks, and happy coding!
@syl-does-games
@syl-does-games Рік тому
@@Indently
@st0rm-xx
@st0rm-xx 9 місяців тому
the backwards "ticks" is just the key next to 1 (tidal key)
@rerereuj
@rerereuj 10 місяців тому
6:40 backticks should be just to the left of the number bar at the top of most keyboards
@TWS-TimeWorkStudio
@TWS-TimeWorkStudio 5 місяців тому
So happy that I took 2hrs to make and fix and watched 16 extra tuts and still did not work, thanks alot!
@fracops3742
@fracops3742 2 місяці тому
same
@Lkdytz
@Lkdytz 15 днів тому
Same
@ido_cohen
@ido_cohen Рік тому
Nice tutorial. The user_message value doesn't work though, why?
@ari_theflower
@ari_theflower 8 місяців тому
have you figured it out yet?
@BeastonKing
@BeastonKing Рік тому
I've been watching tutorials left and right but this is the one that worked, thank you so much! By the way, do you know how to make your bot always stays online? So you don't need to run the program first in order to activate the bot?
@Indently
@Indently Рік тому
yes, look into creating a server to host your script
@desperbamboo
@desperbamboo Рік тому
@independentCog any tutorials you could link? i have 0 experience with any kind of server stuff and google isnt helping me
@moshyAnimates
@moshyAnimates Рік тому
What about the redirect url they have now? this was the most updated thing i could find
@BnRstats
@BnRstats Рік тому
if somebody is facing any problem with intents please substitute client for this: client = discord.Client(intents=discord.Intents.default())
@yasr5931
@yasr5931 Рік тому
thanks so much and merry christmas :D this fixed it!
@samsstuff2078
@samsstuff2078 Рік тому
Thank you so much i was stuck on this for way to long.🙂
@veerchauhan5906
@veerchauhan5906 Рік тому
I am getting this type of error can someone help me.? local variable 'response' referenced before assignment
@Seceroth
@Seceroth 6 місяців тому
thanks for this -- also the backward ticks are above your tab key :) ~ `
@the_untextured
@the_untextured 10 місяців тому
grande! Grazie mille!
@Mrazgoodaz
@Mrazgoodaz Рік тому
Possible for you redo this video but with slash commands?
@yumishamiko
@yumishamiko 10 місяців тому
Can be the bot multipurpose, moddings, emebeds, autoresponders and etc but not super multipurpose just the basic multipurpose
@jynx2949
@jynx2949 Рік тому
How would I get it to respond with my discord username in the responses .py?
@Anonymous-ho4do
@Anonymous-ho4do Рік тому
after I run the pip install discord is still get these message: Traceback (most recent call last): File "C:\Users\Siyu Miao\PycharmProjects\hangoutbot\main.py", line 1, in import bot File "C:\Users\Siyu Miao\PycharmProjects\hangoutbot\venv\bot.py", line 1, in import discord ModuleNotFoundError: No module named 'discord' Process finished with exit code 1
@n0kkk
@n0kkk 9 місяців тому
bruh the best italian english speaker that I ever seen
@LycanSeker
@LycanSeker Рік тому
i need some help,on 4:21 when i type *pip install discord* i tsays me that. the command is not found currently im using an Imac M1
@avriixia
@avriixia 8 місяців тому
Yeah, um downloading Pycharm is confusing. I've never really coded before, and i've never tried or done coding apps in school such as java or python. I did the basics on how to do a header or smth, but that's just about it. I don't understand but I want to make my own bot.
@equious8413
@equious8413 9 місяців тому
The 'backwards ticks' you can't find are the same key as ~. Top left in standard QWERTY
@smhgeko
@smhgeko 7 місяців тому
hi, any way to fix the issue "AttributeError: module 'bot' has no attribute 'run_discord_bot'"? I'm coding in vscode
@KrissyClaw
@KrissyClaw 2 місяці тому
Restarting the project helped me. I was in VSCode myself.
@ari_theflower
@ari_theflower 8 місяців тому
needed to put client = discord.Client(intents=discord.Intents.default()) for line 15 for bot to run :p if anyone has any cool or semi-cool resources or communities for python, plz lemme know
@bethanygeorge8116
@bethanygeorge8116 7 місяців тому
Thank you!! I got stuck on this same part
@swaggychips
@swaggychips 6 місяців тому
thank you bro ur a life saver
@Webbyhx
@Webbyhx 8 місяців тому
Splendido video, grazie mille
@skvnk3x2
@skvnk3x2 Рік тому
ive just done this but it continues to reply with: Traceback (most recent call last): File "C:\Users\Windows PC\PycharmProjects\pythonProject\main.py", line 1, in import bot File "C:\Users\Windows PC\PycharmProjects\pythonProject\bot.py", line 1, in import discord ModuleNotFoundError: No module named 'discord' what do i do??
@liinter5990
@liinter5990 Рік тому
someone help I am getting the message File "C:\Users\Liinter\PycharmProjects\pythonProject1\main.py", line 4, in bot.run_discord_bot AttributeError: module 'bot' has no attribute 'run_discord_bot'
@luxe4295
@luxe4295 Рік тому
I need help I cant run it it says "AttributeError: module 'bot' has no attribute 'run_discord_bot' " what do I do I really need that bot help me plzz
@lauraa1358
@lauraa1358 Рік тому
i got the same problem
@mrfreemanman7574
@mrfreemanman7574 7 місяців тому
good video. One major question. How do you associate the bot with the program? Does the bot just magically know that you wrote the code in python somewhere, or did you completely forget
@RafaPro44
@RafaPro44 7 місяців тому
pretty sure that's what the token is for
@mrfreemanman7574
@mrfreemanman7574 6 місяців тому
@@RafaPro44 that's what i thought too but it seems too simple. Im trying it now i will update you on this issue
@RafaPro44
@RafaPro44 6 місяців тому
@@mrfreemanman7574 sometimes things are simple and seem magical (I say from personal experience with technology, specifically networking)
@flaviozanotti8352
@flaviozanotti8352 Рік тому
so it's not worth using discord command? i tried to use them but i ran into problems when i wanted to identify the channel it came from
@Iggisigg
@Iggisigg Рік тому
how could i add a reaction to the message that is being responded to?
@prototypeUkrainian
@prototypeUkrainian Рік тому
i have a problem when I was importing discord module into project. I installed it, but somehow Pycharm didn't find this module. How can I fix that?
@catcraft3594
@catcraft3594 Рік тому
Do you use venv(virtual environment) ?
@prototypeUkrainian
@prototypeUkrainian Рік тому
@@catcraft3594 yeah i do.
@regnbuesno
@regnbuesno Рік тому
when i try to import discord it dosnt work any ideas on why? it just says [Import "discord" could not be resolved Pylance(reportMissingImports)]
@matsandthecats54
@matsandthecats54 Рік тому
when i run my program i get no errors but it doest go online and its not printing anything anyone know why?
@littelbirdman3709
@littelbirdman3709 11 місяців тому
Begin printing messages places you might think is where the code isnt working then change things there and look for mistakes. Its probaly something with the bot not activating at all so look in main and bot
@sezack950
@sezack950 11 місяців тому
hi thanks for youre codes but i have a problem with running the bot Exception has occurred: AttributeError module 'discord' has no attribute 'Client' what shoud i do?
@ME-kl9bj
@ME-kl9bj 11 місяців тому
where it says client = discord.Client() put client = discord.Client(intents=discord.Intents.default())
@RobinToshFr
@RobinToshFr 11 місяців тому
@@ME-kl9bj THANKS !!!!
@DuperCool5
@DuperCool5 8 місяців тому
For some reason run_discord_bot isnt defining as a variable can someone help
@clay2889
@clay2889 Рік тому
Thank you!
@ari_theflower
@ari_theflower 8 місяців тому
how is your bot doing?
@clay2889
@clay2889 8 місяців тому
@@ari_theflower It ended up working but I gave up on developing it. I don't really have the motivation to be a programmer I guess. Good luck on yours though
@boggelzz
@boggelzz Рік тому
I'm getting this error: in run_discord_bot async def on_ready(): TypeError: Client.event() missing 1 required positional argument: 'coro'
@ari_theflower
@ari_theflower 8 місяців тому
oooh i got that too did you try the client=discord.Client(intents=discord.Intents.default()) thing?
@coucoul38
@coucoul38 8 місяців тому
very epic. Now I just need to figure out how to use the Poe API to make a chatbot
@Plain-_-
@Plain-_- Рік тому
hey just wanted to say I found the tutorial really helpful. I just have one problem, when I'm trying to run my bot in Pycharm to make it come online it gives me an error saying this Client.__init__() missing 1 required keyword-only argument: 'intents' and I have no clue what this means. I tried looking up what it means and found nothing. Can someone please help?
@RonaldSteezly
@RonaldSteezly Рік тому
Same issue
@samsstuff2078
@samsstuff2078 Рік тому
if somebody is facing any problem with intents please substitute client for this: client = discord.Client(intents=discord.Intents.default())
@actuallyandroid5700
@actuallyandroid5700 11 місяців тому
@@samsstuff2078 thank you so much. tried to get this working for weeks and this is the only thing that has worked.
@Deathcleaver
@Deathcleaver 4 місяці тому
@@samsstuff2078 thanks man
@nbecherbleachundcodein9940
@nbecherbleachundcodein9940 Рік тому
show us how to make a bot that alerts when a new drop of ps5 came out or new shoes or something -
@universeally
@universeally Рік тому
line 1, in import bot line 1, in import discord ModuleNotFoundError: No module named 'discord' Process finished with exit code 1 please help
@asioud
@asioud Рік тому
did u end up fixing it
@straw3390
@straw3390 11 місяців тому
italian here surprised u talk english so fluently
@Mohammed-im3ww
@Mohammed-im3ww 9 місяців тому
It doesn't show that bot is running but rather "Process finished with exit code 0" can anybody help? Is the venv file necessary for that?
@ari_theflower
@ari_theflower 8 місяців тому
someone else had a similar problem, I haven't gotten a response from them, but I would love to hear more about what's going on and see if I can help if you're willing
@NotTqm
@NotTqm 5 місяців тому
when I write "pip install dis" it doesn't work, and it takes me alot of GB.. and import discord doesn't work.. what to do?
@doragonsoruja
@doragonsoruja Рік тому
Is there a better way to set up the commands? I'm trying to make a command that returns an embed and everything I'm seeing has their code set up differently than this.
@ari_theflower
@ari_theflower 8 місяців тому
did you figure it out yet?
@doragonsoruja
@doragonsoruja 8 місяців тому
@@ari_theflower Yeah. so in the same file as @client.event(), you wanna use @client.command() and then make an async method right under it
@KaliopaTsutomu
@KaliopaTsutomu Рік тому
im making loads of bots for my own server now :D
@alinadaniela1952
@alinadaniela1952 Рік тому
Hei . How can I create a Discord bot with the following utility: When i write in discord project name/date of project/ collab mng my bot to add the info in an Excel?
@ari_theflower
@ari_theflower 8 місяців тому
I can help research if you would like, that seems really cool
@yughin
@yughin Рік тому
If it's not working try client = discord.Client(intents=discord.Intents.default())
@karenmarin7681
@karenmarin7681 Рік тому
omg u are a hero. TYSM
@JcatTV
@JcatTV Рік тому
i dont understand, how do you have multiple files in the same section?
@GrunkyGun
@GrunkyGun 10 місяців тому
5:53 what is that little , thing there at 1,6 is that a , or not send the thingy pls
@kamizzard3721
@kamizzard3721 9 місяців тому
I am using python 3.8 but when I type in 'pip install discord' I get an error
@Woidon
@Woidon 9 місяців тому
try to update pip - worked for me
@Praisethesvn
@Praisethesvn Рік тому
for some reason it does not appears to me the in app authorization option
@VDouble1V
@VDouble1V 4 місяці тому
after making my own CLI interface in C and deciding to continue my python stuff I have now realsied a cannot spell client instead I am bound to clinet
@Indently
@Indently 4 місяці тому
If you make it a petition to change those two around, I will sign it
@l0g4n666
@l0g4n666 6 місяців тому
Bravo!
@stationaryxluv
@stationaryxluv Рік тому
I am having a problem it says: 400 Bad Request (error code: 50006): Cannot send an empty message. how to fix that?
@karenmarin7681
@karenmarin7681 Рік тому
omg I have a same problem :(
@MuhammadSohaib-lx1mz
@MuhammadSohaib-lx1mz Рік тому
how can i fix this erro "TypeError: Client.__init__() missing 1 required keyword-only argument: 'intents'"
@user-zr2yf1yv8r
@user-zr2yf1yv8r 6 місяців тому
i have error in line 4 idk why but it says module 'bot' has no attribute 'run_discord_bot'
@sphoofxd2499
@sphoofxd2499 Рік тому
when i run the code it says that it expected an "Except" block, but i did exactly what you did. here is the complete error: await message.author.send(response) if is_private else await message.channel.send(response) ^ SyntaxError: expected 'except' or 'finally' block
@Indently
@Indently Рік тому
expected 'except' or 'finally' block, you did not do exactly as I did, 100%.
@ari_theflower
@ari_theflower 8 місяців тому
did you figure it out?
@nik7644
@nik7644 Рік тому
I have a problem with getting the import bot to work, i tried installing the package by hovering over the the red underline but it says installing packages failed.
@ari_theflower
@ari_theflower 8 місяців тому
oh no :( have you had any progress?
@MindUnearthed
@MindUnearthed 6 місяців тому
How do I Install the pip install discord? It says Failed Building wheel for yarl
@yunnobelleza14
@yunnobelleza14 6 місяців тому
i followed the code but the bot still doesnt go online, what should i fix? the token is also the same as the bot
@rayyikkuninjagaming5655
@rayyikkuninjagaming5655 Рік тому
can it be worked for python 3.11 as well?
@macc9667
@macc9667 9 місяців тому
can someone help me? the debug says that the bot did send the message , but the message is " "( empty , aka it isnt sending a message )
@AboodyHandal
@AboodyHandal 9 місяців тому
i found the solution replace the line with : client = discord.Client(intents=discord.Intents.all())
@IceGrave
@IceGrave 8 місяців тому
im having the same issue, did you figure it out? If so, tell me if you can.
@macc9667
@macc9667 7 місяців тому
@@IceGrave sadly , i didnt find any solutions :/
@R1perXNX
@R1perXNX Рік тому
hai un inglese che fa paura, non ti avrei mai scambiato per italiano se non fosse per il sistema operativo, complimenti!
@C_Aires
@C_Aires 11 місяців тому
Does this still work on newer versions of python? Since 3.10 seems to be unavailible. Edit: Figured it out, however is there a way to keep the bot active without the need to constantly have PyCharm active?
@ari_theflower
@ari_theflower 8 місяців тому
have you figured it out yet?
@user-ot1cr9cq6r
@user-ot1cr9cq6r 11 місяців тому
if you guys dont know what program hes using to code its pycharm
@RenderBenderProductions
@RenderBenderProductions 5 місяців тому
bro im getting an error on line 4 and line 15 please someone help
@ranjaysireducationalchanne7902
@ranjaysireducationalchanne7902 Рік тому
i couldnt finish reading it but the first 2 sentences were inspirin LMAO
@ari_theflower
@ari_theflower 8 місяців тому
reading what i want i read an inspiring two sentences
@sumthin7589
@sumthin7589 Рік тому
how do i fix Traceback (most recent call last): File "C:\Users\MYNAME\PycharmProjects\pythonProject\main.py", line 1, in import bot File "C:\Users\MYNAME\PycharmProjects\pythonProject\bot.py", line 1, in import discord ModuleNotFoundError: No module named 'discord'
@Neqless
@Neqless Місяць тому
I get this Error: NameError: name 'TOKEN' is not defined Although it is defined with like this: TOKEN = "MYTOKEN" client = discord.Client() Please help meeee
Create Your Own Discord Bot in Python 3.12 Tutorial (2024 Edition)
22:01
C++ Developer Learns Python
9:26
PolyMars
Переглядів 2,6 млн
LIVE - Парад Победы в Москве. 9 Мая 2024
2:27:56
AKIpress news
Переглядів 2,2 млн
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
Protect The Yacht, Keep It!
15:08
MrBeast
Переглядів 37 млн
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Переглядів 5 млн
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Переглядів 1,4 млн
Can You Get Every Discord Badge?
9:44
No Text To Speech
Переглядів 2,2 млн
5 Good Python Habits
17:35
Indently
Переглядів 289 тис.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Переглядів 1,4 млн
I tried Discord Bot Makers...
14:19
FaceDev
Переглядів 19 тис.
How I Would Learn To Code (If I Could Start Over)
13:43
Namanh Kapur
Переглядів 6 млн
LIVE - Парад Победы в Москве. 9 Мая 2024
2:27:56
AKIpress news
Переглядів 2,2 млн