Today I'll explain the 100% working method to host a Discord bot online 24/7 for free.
First we have to upload our bot in repl.it, then we'll add ...
For further actions, you may consider blocking this person and/or reporting abuse
Use this code:
from itertools import cycle
idk this method is working for several people
check ur code maybe it has some issues.
Hey I can't find the console URL, can you help me?
it's just above the console
I can't find it...
just above the console..as shown by this red arrow in this img
i dont think u understand
they removed that, instead look here: docs.replit.com/repls/web-hosting
Is this against the repl.it ToS? Because otherwise... hehe...
Repl.it has approached a well known community to make guide about hosting discord bot on their platform.
It was seen when discord bots were no longer hostable on glitch.
Thus is completely within their TOS and supported as well.. who knows if it will end like glitch though
Not against ToS to my knowledge :)
It's 100% safe. 🤗
It's 100% safe. 🤗
I got this error below, after adding the threading and flask code:
Traceback (most recent call last):
File "main.py", line 1, in
import discord
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/init.py", line 25, in
from .client import Client
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 27, in
import asyncio
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/asyncio/init.py", line 21, in
from .base_events import *
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/asyncio/base_events.py", line 296
future = tasks.async(future, loop=self)
^
SyntaxError: invalid syntax
Does anybody know what I should do?
it's due to an error in ur bot code I guess.
Really works! Thanks, thanks, thanks, thanks, thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! YOU'RE AWESOME!!!!!!!!! I NEVER THOUGHT THIS WOULD WORK!!!!!!!!
your comment made my day <3
ILYSM!! TYSM for making this tutorial, really helped a lot!! TYYY <3333
ur welcome 🤗
for the discord.js bot, I'm getting this issue (linked image)
imgur.com/a/0Rw7nRP
seems like basic error. if you are new to node.js I would suggest learning more first.
Also it would simply be
sorry but I have no idea about that 😅
It somehow don't work in python section is my bot script work fine but there's no url popup in console.
Help :3
um i cant find URL for the console i am using discord py
pls help
repl.run is gone. i dont think this method is possible anymore.
however, repl.co is still available. docs.replit.com/repls/web-hosting
i have no idea if this works. let me know if it does!
I get the error on the second piece of code :
)}
^
SyntaxError: Unexpected token ')'
Hello! I followed all the part of your tutorial but when i exit from the console of repl.it the bot stops. Could you help me? I used the .py version.Thank you a lot! :D