Can't end website hosting Flask [Answered]
I have a discord bot. The issue is that for the status and stuff it hosts a replit website to run the bot...
But It doesn't want to end it so when I run a newer version, the bot starts typing two messages at once.
It's because there are two servers using it. I just need to be able to end the website hosting when I click stop.
I can't end it in any way. Except for changing the discord token which isn't a good solution. And not a permanent.
Answer: The issue was I was installing using pip but there was a( if name == 'main':
check. I removed it and it fixed it...
Voters
Coder100
you have to end it, for temporary downtime.
juliusgunnars12
@Coder100 sorry, I'm not understanding. I'm saying I can't end it.
The issue was I was installing using pip but there was a if name == 'main':
check had to remove that and it fixed it...