Bot not sending data properly after a set time

I would like to answear both in the same message, but i dont know how to citate text as Barry did so i’ll try to explain (it goes for both of you :slightly_smiling_face:):

That “spam” has a very low frequency, one message each 10 minutes or so, very far away from the limit. The thing was that if the bot didnt send any message to the chat in a certain time (two secs), it became unable to send anymore (but it was still recieving pings). I was confused so i tried to force to keep that connection that seemed lost by sending an empty message each second, which worked, but its a very very unoptimal way to fix this. (instead of 1mesagge/ten minutes i send 600!) so i looked for something else but i couldnt…

If anyone has any idea where could be the mistake i made pls tell. Thank you!