#๐ bot won't go online after running
74 messages ยท Page 1 of 1 (latest)
@pearl verge
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
i created the virtual environment i believe, but my errors are still present and it wont run the bot ๐ญ
your terminal commands are not inside the venv but inside the global python
Yeah you need to source your virtual environment before you run pip install commands or you're installing to the global python
ahhh okay that makes sense
let me check something
okay so just to make sure im doing this right, i right-clicked the errror and set the interpreter to the venv one
is that the correct way to do it, cuz its still giving me errors so im assuming its not how u do it
do you ses (venv) in your terminal ?
This, but make sure you open a new terminal
Yeah you got it
now try to install again the package
alr one moment
holy ur amazing thank you SO much
alr let me fix the extensions real quick and ill be back
ah another thing, it wont let me run without debugging, is there a way to disable that
it tells me to select a debugger
ill ss
when does it tell you this ?
after i press "run without debugging"
i used to be able to run it without debugging
but now it just does that ๐ญ
there is a small arrow next to the run button
click it and you'll see a dropdown menu like that
ohh okay
okay so for some reason it doesnt run the bot
its still offline
but gives me this when i pressed run python file
at least it is a progress
true
so idk anything about discord bot so if anyone wanna give a hand
tysm for all the help, i did learn something ^^
np
if anyone else can help, these are my current issues!
- bot wont go online after running it
- help with hosting my bot on a free hosting site (i cannot pay for one, please dont suggest that)
my code: https://paste.pythondiscord.com/IAKA
bump
Not sure if the bot that locks the threads takes into account the OP bumping their own thread, but it won't lock as long as there's a reply within an hour. And even if it does lock you can just open a new one.
You may also want to rename the thread now that the issue to be solved has changed.
yesyes will do, also i wasnt sure so thank you for letting me know ^^
bot won't go online after running
Also I would help with your issue but I don't know too much about discord bot programming. Hopefully the new thread title will get the attention of someone who knows more than I do about the subject.
thats alright, thank you for everything you could tell me though :)
@opal dagger sorry for the ping, i just know u helped me the first time with my code! my bot wont go online when i run it, is there anything you think could be the issue?
when i ran the bot, it gives this in terminal! shows a red thingy beside where it states my token, heres a screenshot of where i tell the code to state the token whenever i run it
Code looks fine, though you should probably remove the thing that prints out the token
alright, would there be a reason the bots not coming online though?
Your process seems to have stopped itself
According to the outputs it is connecting, but the way you're running it is a bit odd
looks like this is powershell?
im in the python terminal
inside of a venv
how do i turn that off ๐ญ
cuz i was trying to set my environment
sure
thats so odd, its online now ๐ญ
idk what i did that fixed it, but i did remove the token thingy
it should be because of vscode abruptly stopped ur program to run the venv activate script
You can see it in the first pic
gotcha, i didnt even realize that
It's definitely the environment. I can run the same code just fine locally
now i just need to host my bot ๐ญ im gonna find the one soph suggested
ty guys sm! ill lyk if i need anything else
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.