Won't host
So, I have 3 bots and it is suppose to be hosted for 24/7 without going on it and I did everything properly, All of a sudden it won't stay on for 24/7 and I have to click run and stay on the page. Please someone help me
Voters
So, I have 3 bots and it is suppose to be hosted for 24/7 without going on it and I did everything properly, All of a sudden it won't stay on for 24/7 and I have to click run and stay on the page. Please someone help me
Hello, try this. But basically the problem is probably your repl ran out of memory.
@Coder100 OOM killer or storage?
probably the killer @CodeLongAndPros
@Coder100
echo 'f' > /proc/sysrq-trigger
@Coder100 Still goes down
hmmm strange @VDiscordbot
@Coder100 Yeah, It is, Now it says error in my code when everything is fine
@Coder100 Could you fix it?, It used to work though
hmm, can you send a screenshot of all your files? @VDiscordbot
@Coder100 Ok
@Coder100

hello, as you can see there is no .env file. @VDiscordbot
@Coder100 I could fix that but I have a .env file in my Other bot and it works but then stops running
@Coder100 I added the .env file but now it won't still run
hmmm... what is inside the
.env
? @VDiscordbot@Coder100 My discord token
so it's like in the format
right?
@VDiscordbot
@Coder100 Yes
alright, everything appears to be working, however there is another method we can do before we contact repl.it. Create a
.replit
file in the root directory and inside, put@VDiscordbot
@Coder100 Ok
OH WAIT I FOUND YOUR ERROR!!!
You are missing a script creating an HTTP server! Here's the solution for you:
Enjoy!
@VDiscordbot
@Coder100 Where do I put it?
@Coder100 Do I replace anything?