Skip to content
← Back to Community
Run Button doesn't work
Profile icon
als10

Whenever I click the 'run' button, it just waits a seconds (and shows 'stop') and then goes back to the green 'run' button.

My script is supposed to print a statement on running but nothing is printed out to the console. I'm creating a discord bot by the way.

I'm using python3 and running repl.it on Safari if that matters.

Edit 1: Link to the repl: https://replit.com/@als10/Test-Bot#main.py

Edit 2: Tested it on Chrome, doesn't work.

Answered by xfinnbar [earned 5 cycles]
View Answer
Voters
Profile icon
addu390
Profile icon
sanahishamzz
Profile icon
FlappyTheBat
Profile icon
als10
Comments
hotnewtop
Profile icon
xfinnbar
Profile icon
als10

Thank you! @xfinnbar

Profile icon
JakeHu2020

Replit isn't broken. It is that once the program has finished, it stops/exists.

Profile icon
als10

@JakeHu2020 But as you can see in the code above, it's supposed to at least print 'Bot Running' but it doesn't

Profile icon
irene167

Thank you for providing this information. I am delighted to come on this fantastic article. [url=https://buildnowgg.co/]build now gg[/url]

Profile icon
AcaciaHary

Great article. provide me with a lot of useful and timely information.
https://amongus-2.com

Profile icon
QuickV

Safari replit is broken... I know some other people that have console problems.

Profile icon
als10

@QuickV I will test it on Chrome and let you know
Edit: doesn't work on Chrome

Profile icon
QuickV

Then maybe something is wrong with the code, but idk what. @als10

Profile icon
xfinnbar

What is the name of the file your code is in?

Profile icon
als10

@xfinnbar Added the repl to the post

Profile icon
FlappyTheBat

Please add a link to the repl.

Profile icon
als10
Profile icon
Coder100

please send repl.

Profile icon
als10

@Coder100 Added the repl to the post