Discord Bot offline after restarted it in about 20 minutes

I’ve read something about making your bot typing forever (actually not the best option), but probably everything else violates Glitch’s T&Cs.
Check these posts (that contain a body similar to this):

Show (this is a long list!)

I highly recommend you to check this: PSA: Glitch does not allow pinging services