As I’ve tried to previously explain, we don’t have much info to go on. We don’t know what your code is, we don’t have raw logs of what you’re sending to Twitch, or what Twitch is sending to you (which may include error messages when you attempt to send messages to chat but it fails).
You’ve explained the problem in detail yes, some times messages don’t show in chat, but that’s not sufficient for any of us to attempt to diagnose what the issue may be with any certainty.