They're objects you create, and can pass into the send/respond method. There'll be examples in the stream VODs, and in github.com/parafoxia/hikari-intro.
When I try to do python -m testbot at 10:37 I get the error "ImportError: No module named hikari". I made sure that I pip installed "hikari[speedups]" hikari-lightbulb and all other modules you installed at the start of the video. I don't know why it can't find it. What do I do?
@@Carberra It is showing me Python 3.10.0 64-bit ('ENV-DIR': venv) in the bottom left of my screen. I tried uninstalling and re-installing the libs but the same thing happens. When I try to pip install again I just get "Requirement already satisfied". I've attempted specifying path using --target= but nothing helped. I'm extremely new to this and it has been my first time using VS code so honestly, I don't really know what I'm doing at this point.
@@rhodeschannel I had the same error, i'll tell you what i did and maybe it will help. The problem for me was nothing to with the imports, it was the virtual environment. Vs Code wasn't making my venv. Run VS Code as Admin go into your terminal in VS Code and do "Get-ExecutionPolicy" if it says restricted there's your issue, it isn't actually using your venv. Then Set-ExecutionPolicy Unrestricted. And then it will actually use your virtual environment. Let me know if that helps at all!
For the hikari[speedups] library, how necessary is it to use the 'speedups' version for the example you give here? Asking because I can install vanilla hikari no problem, but speedups is giving me a hard time.
I am just lost here, no matter what I do/look for on google. I get no module named "insert bot name" Im using python 3.10. Same exact structure as you have, but just this error.
@@Carberra It says 'import "uvloop" could not be resolved. Pylance(reportMissingImports)' Its not an actual error as it wont cause issue's due to the window's check, but it is a bit annoying
Hi at 10:37 when you run the code it gives me an error saying that lightbulb has no attribute called "Bot"
There's an updated version of this video -- look for the one with "slash commands" on the thumbnail.
@@Carberra Can you please link it? Thanks!
th-cam.com/video/Miu4FWfRUTM/w-d-xo.html
@@Carberra thanks a lot!
how to use embeds? i'm a beginner and i don't really understand how to build embeds and make the actually show up
They're objects you create, and can pass into the send/respond method. There'll be examples in the stream VODs, and in github.com/parafoxia/hikari-intro.
When I try to do python -m testbot at 10:37 I get the error "ImportError: No module named hikari". I made sure that I pip installed "hikari[speedups]" hikari-lightbulb and all other modules you installed at the start of the video. I don't know why it can't find it. What do I do?
You might have installed to the wrong Python version. Double check you've got the libs installed to the right place.
@@Carberra It is showing me Python 3.10.0 64-bit ('ENV-DIR': venv) in the bottom left of my screen. I tried uninstalling and re-installing the libs but the same thing happens. When I try to pip install again I just get "Requirement already satisfied". I've attempted specifying path using --target= but nothing helped. I'm extremely new to this and it has been my first time using VS code so honestly, I don't really know what I'm doing at this point.
Try pip installing with the --force-install flag. If that doesn't work join the Discord server and ask there -- seems like a more complicated problem.
@@rhodeschannel I had the same error, i'll tell you what i did and maybe it will help. The problem for me was nothing to with the imports, it was the virtual environment. Vs Code wasn't making my venv. Run VS Code as Admin go into your terminal in VS Code and do "Get-ExecutionPolicy" if it says restricted there's your issue, it isn't actually using your venv. Then Set-ExecutionPolicy Unrestricted. And then it will actually use your virtual environment. Let me know if that helps at all!
2:41 You said it would not install on windows but you got Windows right and it installed how?
I think his running it on a WSL
After commenting I saw it was running on WSL lol, I didn't notice it.
For the hikari[speedups] library, how necessary is it to use the 'speedups' version for the example you give here? Asking because I can install vanilla hikari no problem, but speedups is giving me a hard time.
Not really essential. There are a few compatibility problems with them at the moment, especially with regard to 3.11, but they are entirely optional.
@@Carberra Good to know! Thanks for the quick response.
I am just lost here, no matter what I do/look for on google.
I get no module named "insert bot name"
Im using python 3.10.
Same exact structure as you have, but just this error.
There's a newer video which might be your answer: th-cam.com/video/Miu4FWfRUTM/w-d-xo.html
what is the extensions folder all about if we could just keep all the commands in one file
Generally speaking you'd want to group commands into files to make the code more maintainable, so a file for mod commands, another for games, etc.
Thanks for clearing that up.
Do you know a way to suppress the issue VSC gives when trying to import uvloop on Windows?
What error is it giving you?
@@Carberra It says 'import "uvloop" could not be resolved. Pylance(reportMissingImports)'
Its not an actual error as it wont cause issue's due to the window's check, but it is a bit annoying
You might be able to put `# noqa` at the end of the line.
love u
(:
I am using Visual studio code on windows 11 but i cant get the not equal symbol, i tried to use != but it didnt do anything
think i got it working but not with the not equal system.. im just using plain !=
which seems to be working :D
The special symbol is a ligature -- it's visual only. The characters are actually !=. I forgot to turn them off for this video haha.
@@Carberra lol thats np :D got it working, just need to figure out more about hikari lol, day 1 using it
Finally 😏
can confirm that uvloop installs on carbOS