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
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...
@@NaasicChatGPT took me from zero to having a scheduled python script that does a scheduled web scrape that filters the information and then sends me a webhook message in discord with the info. It’s amazing what that site can do.
PS C:\Users\sikha\Desktop\python> & C:/Users/sikha/AppData/Local/Programs/Python/Python312/python.exe c:/Users/sikha/Desktop/python/main.py Traceback (most recent call last): File "c:\Users\sikha\Desktop\python\main.py", line 1, in import discord ModuleNotFoundError: No module named 'discord' this is the error i get when running this programm any one know what the issue is?? PLS HELP ME
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.
. 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. 😅
When I try to run it I get the error ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
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
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
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
Thanks for your tutorial, you make it look easy to beginners like me! 😁😁🙏
this was really nice and easy to follow. cant wait to continue to work through and set things up.
U HAVE THE SAME BACKGROUNDOF PC AS ME!!! also tnx for making an updated version of the series
very good video, I can't wait to see the next videos. :D
Learning python through the use of Discord botting. Even tho it's the first video in the series, I have now learnt to mask my token! Thank you!
Thank you! On to your next tute! name and aliases are a gem!
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 am getting this error ImportError: cannot import name 'commands' from 'discord'. Pls some help. can't go any further without fixing that
Chat GPT can probably help!
@@NaasicChatGPT took me from zero to having a scheduled python script that does a scheduled web scrape that filters the information and then sends me a webhook message in discord with the info. It’s amazing what that site can do.
Sounds like your file is named discord
Very good video! you deserve a sub!
Thanks for the sub!
Thank you so much :) very clear guide
When I try to import discord, it says ' Import "discord" could not be resolved"
can't use pip
I'm very new on every on coding and stuff im trying to learn new things so lets hope this video helps :D
When I try run the bot it says no audioop module found ?
Solve it by running this command:
pip install audioop-lts
@@MartinFLL doesnt work in cmd
PS C:\Users\sikha\Desktop\python> & C:/Users/sikha/AppData/Local/Programs/Python/Python312/python.exe c:/Users/sikha/Desktop/python/main.py
Traceback (most recent call last):
File "c:\Users\sikha\Desktop\python\main.py", line 1, in
import discord
ModuleNotFoundError: No module named 'discord' this is the error i get when running this programm any one know what the issue is?? PLS HELP ME
DEVELOPOR PORTAL WAS UPDATED NOO
following it, i hope you do upload tomorrow too
my bot doesnt go offline after i stop the main.py file (nvm just need to wait a few secs)
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.
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
It does not work for me, neither in node.js works. Damn
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. 😅
When I try to run it I get the error ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
Join my discord server so we can properly assist you
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?
Check if pip is added to your PATH. Assuming you're on Windows, run *_echo %PATH%_* in the terminal.
gj
pip does not work
i cant use C:\Users\aspjo>pip insatll discord
'pip' is not recognized as an internal or external command,
operable program or batch file.
Try typing this in the cmd window: `python -m ensurepip --default-pip`
Check if pip is added to your PATH. Assuming you're on Windows, run *_echo %PATH%_* in the terminal.
Yo he got OSU!❤
Haha. Used to be addicted to that game. Highest PP play I’ve had was around 120. Sadly though I lost access to my account
you probably know some lua
Not much at all. Would like to learn it a bit more so I can make roblox scripts lol
tamer abi selamlar
Hello sir
invite generator is inside oauth.
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.