Wait, I have reason to suspect that your Debugger is still active…
It may be showing it, but the bot itself doesn’t seem to be working…
Can you check if the Debugger is still running? If it is, can you stop the Debugger?
Also, did you add the bot’s token into the .env file?
Yeah, I got it stopped
Yes, I did, that’s true
Hmm… I guess we can check if you bot if banned from discord. Do you have anymore error in the logs?
Nope, no way my bot is banned
Its possible. Glitch containers can get banned.
I think I found it! @JoshJson, can you paste the following code at the bottom of index.js
?
const listener = app.listen(process.env.PORT || 3000, () => {
console.log("Your app is listening on port " + listener.address().port);
});
In index.js
, not express.js
! And I made a small edit to the above code.
This line might also have something to do with it.
bot.login(token)
No, I know what the error is. I made a small edit to the code I posted above, using it should fix it.
Now the error is about defining Express.
Now it should work.
Hey, if you are still up to helping, can you DM me your discord at @JoshJson , I didn’t realise there were limits on replies
Hey what’s up. Can you hit me up on discord, DM me at @JoshJson . Didn’t know that reply limit was a thing lol
@JoshJson join this Discord server so that we’ll be able to help you: