#Do you listen to the debug event
1 messages · Page 1 of 1 (latest)
the bot works and then stops working like it disconnects or something, it's still running
and then when another bot uses the same token
both bots work
and when the other bot exits the original bot still works
for a while
then it stops again
@pine wave
hosting but it's basically the same
Please add the following code to your code base outside of any other event listeners and provide the full log output relevant to your issue.
client
.on("debug", console.log)
.on("warn", console.log)
• Note: if you initialize your Client as bot or other identifiers you need to use these instead of client
• If the output is too long to post consider using a bin instead: gist | hasteb.in | sourceb.in | hastebin
yea ok
Show the output when it disconects
nothing
it just goes offline and discord says bot didn't respond when i run slash commands
the bot is still running
normally
nothing happens in console
these events have a ton of data, almost constantly
I mean, show what the debug event shows when it goes offline
add the listeners and post the logs
lemme try it
it takes abt an hour to do this
also if i do a quick restart
the once ready event doesn't happen
i need to stop it
wait a bit then start it
hmm
the issue only exists on replit
when i run it locally it works fine
so ig replit got blacklisted by discord or something
rate limit
idk
they routinely ip ban replit, yes. it's not a host meant for discord bots, and its free nature leads to abuse by bad actors
i share my ip address with who knows how many other bots
self-host or get a dedicated host #resources
dunno, check with them. this isn't the place for host discussions, you can ask in #archive-offtopic ¯_(ツ)_/¯
You can give a look at Oracle too
it also isn't free
does it need credit card to set up?