Discord.js bot keeps on crashing

My discord.js bot keeps on crashing after a few hours.
is there any way to fix this?

Thanks

1 Like

Is there a specific error message you’re seeing?

It would be really helpful if you could post the errors here.

Any console error?

My discord.js bot keeps on crashing after a few hours.
is there any way to fix this?

As you said it keeps crashing, may I see the console log so I could help you out?

Thanks.
-Bolt.

This might be too late, but Glitch does close your project some time in a while.

Is your bot being hosted?