#๐Ÿ”’ bot won't go online after running

74 messages ยท Page 1 of 1 (latest)

unreal flameBOT
#

@pearl verge

Python help channel opened

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.

pearl verge
#

i created the virtual environment i believe, but my errors are still present and it wont run the bot ๐Ÿ˜ญ

snow crane
#

your terminal commands are not inside the venv but inside the global python

coral comet
pearl verge
#

let me check something

pearl verge
#

is that the correct way to do it, cuz its still giving me errors so im assuming its not how u do it

snow crane
#

do you ses (venv) in your terminal ?

coral comet
pearl verge
#

this right?

coral comet
#

Yeah you got it

pearl verge
#

it just showed up

#

ahh okay so what about the errors? do i ignore?

snow crane
#

now try to install again the package

pearl verge
pearl verge
#

alr let me fix the extensions real quick and ill be back

pearl verge
snow crane
#

what do you mean ?

#

when you press run it starts the debugger ?

pearl verge
#

ill ss

snow crane
#

when does it tell you this ?

pearl verge
#

after i press "run without debugging"

pearl verge
#

but now it just does that ๐Ÿ˜ญ

snow crane
#

there is a small arrow next to the run button

#

click it and you'll see a dropdown menu like that

pearl verge
#

ohh okay

pearl verge
#

its still offline

#

but gives me this when i pressed run python file

snow crane
#

at least it is a progress

pearl verge
snow crane
#

so idk anything about discord bot so if anyone wanna give a hand

pearl verge
snow crane
#

np

pearl verge
#

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)
#

bump

coral comet
# pearl verge 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.

pearl verge
#

bot won't go online after running

coral comet
#

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.

pearl verge
pearl verge
#

@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

opal dagger
#

Code looks fine, though you should probably remove the thing that prints out the token

pearl verge
errant thicket
#

Your process seems to have stopped itself

opal dagger
#

According to the outputs it is connecting, but the way you're running it is a bit odd

#

looks like this is powershell?

pearl verge
opal dagger
#

inside of a venv

pearl verge
#

cuz i was trying to set my environment

errant thicket
#

You don't need to turn it off

#

Can you try running it again

pearl verge
pearl verge
#

idk what i did that fixed it, but i did remove the token thingy

errant thicket
#

it should be because of vscode abruptly stopped ur program to run the venv activate script

errant thicket
pearl verge
opal dagger
#

It's definitely the environment. I can run the same code just fine locally

pearl verge
#

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

unreal flameBOT
#
Python help channel closed for inactivity

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.