Building a Discord Bot in Python (2024) Episode One: Getting Started
Vložit
- čas přidán 31. 05. 2024
- Hey guys, today we reboot an old series on my channel on building your very own Discord Bot in Python. This series will cover some of the new stuff that has been added to Discord and its pythonic API since the old series has been out. Subscribe!
MY DISCORD: / discord
MY GITHUB: github.com/Paradoxial8172
DONATE: paypal.me/TamerBoi?country.x=...
Music Credits:
N/A
Intro is made by somebody else on panzoid, only changed the music Tranquillity - ProdRiddiman)
Outro is made by me :)
Outro Music is "In A Cabin By The Lake" by Lazarus Moment! - Hry
You teach very well, I'm from Brazil and I loved your teaching, keep the videos coming!
Good stuff. I’m learning and looking forward to following along
this was really nice and easy to follow. cant wait to continue to work through and set things up.
Ran into any problems whilst building your bot? Come join my Discord Server! Over 600 members have joined all who have had help and who also offer help to those struggling with coding! discord.com/invite/UqdbGp426a
i am getting this error ImportError: cannot import name 'commands' from 'discord'. Pls some help. can't go any further without fixing that
very good video, I can't wait to see the next videos. :D
Thank you for how straightforward this is. I'm trying to make a bot to scrape my private server from when my wife and I were LDR. I'm then gonna feed all that into chatgpt, and make the bot mimic me. Yes, kinda like that black mirror episode...
pip didnt work for me... how did you do it?
i cant use C:\Users\aspjo>pip insatll discord
'pip' is not recognized as an internal or external command,
operable program or batch file.
I'm very new on every on coding and stuff im trying to learn new things so lets hope this video helps :D
Paradox please please I have request to create a welcome message tutorial with the user image who joined and name on it maybe by pillow please make tutorial video on that.
following it, i hope you do upload tomorrow too
the pip install discord command is not working and it says pip is not recognised as an internal or external command, operable program or batch file
you already install python and py extensions?
What's the difference between using a txt file and a .env file for hiding the token?
Nothing much. Don’t quote me on this but I think .env has stronger security features.
Thanks for your reply@@paradoxial7665
. Env is primarily used for distribution security since if you ever plan to share your code or have it sit in a Github repo you don't want to share that. Github and most other version control software will ignore .env files by default. Which means less work for you when creating repos. Txt files on the other hand can be easily scanned for and are always included unless you include them into your ignored files. There are other benefits, primarily since env files emulate the env variables found on all/most operating systems. So you can easily incorporate it using the os module in Python. There's more but I'll leave it there for now. 😅
gj
idk why im here, not whjy this is on my page but i pressed on it becasue u look justg like austincs withoutb glasses and better beard
Yo he got OSU!❤
you probably know some lua
tamer abi selamlar
pip does not work
working great until I created the file.
FileNotFoundError
[Errno 2] No such file or directory: 'token.txt'
Exactly the same code as you have done :/
EDIT: Figured it out and leaving this here just encase anyone else has the same issue. The projects folder I had my bot in was call "Discord Bot" - Python doesn't like the space so I renamed it "Discord_Bot" and that fixed it :)
Thanks for these videos. I programed a discord bot years ago with the original Python and it is a mess and I couldn't work out how to upgrade to 2.0 for slash commands. Hopefully your videos will help me :)
You could also give ghe whole file name like “C:\\user\\…“ but you need to put in those 2 backslashes. This is the only method that works if your .txt file isnt in the same folder as your .py file
Hey man, that was a great video, but the quality was 360p at max, please upload these vids in higher resolution
dw its fixed now
Was HD for me, you probably watched it before 1080p was finished processing.