As I’ve mentioned elsewhere, you need to do the work to figure out what part of your bot is causing the spike in resources.
This particular error is telling you that a request to the Discord API is failing. Specifically, your bot is asking to update (PATCH) a specific channel (/api/v7/channels/%id-here%
). That request is receiving Error: socket hang up
responses, so something on the Discord end is hanging up on you. I can’t say why that might be, but it’s unlikely to be on Glitch’s end as long as your bot isn’t on a banned host at the time, which yours wasn’t.