Amazing, I just started learning python (I know CSS and HTML) and wanted a project but the discord videos coming up first in search all had comments saying they were outdated. I searched by date and found your video and am super stoked to see something so well put together! Commenting, liking, and subscribing for the algorithm, hope more people find your stuff James!
I found the original series and currently watching that and have joined the discord. Welcome back! A video on a killfeed bot that links into a remote server would be great.
Having an issue with something simple.. When in terminal i typed python3 --version, It came up with "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." But I already have python installed. When i had gone into manage app execution alliances in settings.. All it did was complicate thigs further when I had disabled the shortcut. God I'm stuck and i have no clue what to do..
Next one should be coming out in the next day or two. The plan is to release one every week or two. When I get into the swing of things I’m hoping to release a video every Friday :)
@James S - is there something with discord that messes up the bot if you try to change the interact command (from say the ! to a / for example)? I don't think anything else has changed and I have tried everything to get the exact same code to work just changing that out (and even back again) and nothing seems to work. Any suggestions?
I did everything right and my bot is working, ty but I have a problem. I can't see the messages which sent on discord. Please help me why I can't see the messages in terminal.
i get the following error when running the python script using Spyder: Error: asyncio.run() cannot be called from a running event loop e:\python\bot\main.py:30: RuntimeWarning: coroutine 'Client.run..runner' was never awaited print(f"Error: {e}") RuntimeWarning: Enable tracemalloc to get the object allocation traceback
its probably so that people will think its the most updated tutorial (which, it is) and therefore click on it instead of some outdated one that wont work
Well, I just found the issue. Audioop has been remove from newer versions of Python. I'm not smart enough to figure out how to fix that other than installing an older version of Python. Doing that fixed the problem for me.
I get an error at the end, when I run the bot by running ''main.py'' This is what the therminal says: ''discord.errors.LoginFailure: Improper token has been passed.''
This is most likely due to the token being passed not being valid for your bot. I’d recommend logging into the discord developer portal, going to the bot section, and regenerating a new token and then paste that into your code. Hopefully that should fix the problem
I finally found a solution, if the solution stated above doesnt work, then try debugging the code and for some reason the bot will start working, at least for mine.
Amazing, I just started learning python (I know CSS and HTML) and wanted a project but the discord videos coming up first in search all had comments saying they were outdated. I searched by date and found your video and am super stoked to see something so well put together! Commenting, liking, and subscribing for the algorithm, hope more people find your stuff James!
I found the original series and currently watching that and have joined the discord. Welcome back! A video on a killfeed bot that links into a remote server would be great.
Thank you so much. Sure that sounds great thank you I’ll add that to the list of episodes for this series
@@James_S That would be amazing!
2025 is crazy
And when we needed him the most, he returned.
Back for good 🔥
import discord
ModuleNotFoundError: No module named 'discord' HOW TO FIX
i was just watching your old series and you posted a fresh one
Should be similar for the first couple of episodes however then it will be different so you should hopefully be able to transfer your code across
real
Finally!
welcome back old friend : D
Thank you, glad to be back :)
And when we needed him the most, he returned
@@ZERO-OFFICIAL77 Copied comment
This is very helpful! Love your style
I am so happy that you're back!
🔥I’m so glad to be back :))
HELL YEAH
i stumbled onto this while looking for videos on how to make a discord bot. this is really cool. thanks!!!
Glad you liked it, thank you :))
keep up the good work! you earned a sub!
Thank you so much
you just earned a sub !!! keep going
Thank you so much
Having an issue with something simple.. When in terminal i typed python3 --version, It came up with "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." But I already have python installed. When i had gone into manage app execution alliances in settings.. All it did was complicate thigs further when I had disabled the shortcut. God I'm stuck and i have no clue what to do..
use py
instead of "python3 --version" use "py -3 --version"
Bro can you teach us how to make a music bot?
Yep sure, I plan to cover that a couple of episodes in
When is your next episode released? Do you have a schedule set or just when you can?
Next one should be coming out in the next day or two. The plan is to release one every week or two. When I get into the swing of things I’m hoping to release a video every Friday :)
@James S - is there something with discord that messes up the bot if you try to change the interact command (from say the ! to a / for example)? I don't think anything else has changed and I have tried everything to get the exact same code to work just changing that out (and even back again) and nothing seems to work. Any suggestions?
Nice video!
Thanks
THANK YOU
Whar program are you using?
When's the next video? (btw, loved this video, worked flawlessly)
Thank you and glad it worked. Next video should be coming out in the next day or two
@@James_S Can't wait!
I did everything right and my bot is working, ty but I have a problem. I can't see the messages which sent on discord. Please help me why I can't see the messages in terminal.
How to make tool that'd DM all your friends in discord
Sure, I’ll make sure to include an episode in this series about this
@@James_S thanks mate
I can’t import discord
w
im getting an error that says [Errno 2] No such file or directory. any idea what im doing wrong here?
i get the following error when running the python script using Spyder:
Error: asyncio.run() cannot be called from a running event loop
e:\python\bot\main.py:30: RuntimeWarning: coroutine 'Client.run..runner' was never awaited
print(f"Error: {e}")
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
2025??????????? its literally 2024
its probably so that people will think its the most updated tutorial (which, it is) and therefore click on it instead of some outdated one that wont work
When I did discord it said the discord was a error and need to change it and it’s not working
I have a problem ModuleNotFoundError: No module named 'audioop', how to solve that? please help me
I'm having this same issue. No matter what I do I can't find anything on how to fix it. I'll let you know if I find anything.
Well, I just found the issue. Audioop has been remove from newer versions of Python. I'm not smart enough to figure out how to fix that other than installing an older version of Python. Doing that fixed the problem for me.
Why The bot only work in the privete didnt work in the server ?
This might be because of permissions for that specific server. Maybe the server doesn’t allow for bots with administrator permissions?
@@James_S I gave the bot administrator permission
How do you shutdown the bot properly?
The best way to do it is in the terminal, pressing Ctrl-C. This will then stop the Python program from running
bro is one year ahead
I get an error at the end, when I run the bot by running ''main.py''
This is what the therminal says:
''discord.errors.LoginFailure: Improper token has been passed.''
Same let me know if there’s a fix for this
This is most likely due to the token being passed not being valid for your bot. I’d recommend logging into the discord developer portal, going to the bot section, and regenerating a new token and then paste that into your code. Hopefully that should fix the problem
I finally found a solution, if the solution stated above doesnt work, then try debugging the code and for some reason the bot will start working, at least for mine.
@@tenchi2075 how do I debug it? I’m pretty new to coding😂🥲
@@tenchi2075 I've found another selution, Adding the discord tool extension, re-open the app and run it through prompt, works fine too!
where were you from 1 year
😏
Bro thinks it's 2025