One thing you can do, though it would take a lot of energy, is to add a "submit" button to your bot that you would have to click in order to tweet each tweet. That way it would be you who tweets it, though a bot did the hard work.
If you have a genuine need to post something, waiting 5 seconds is not a big problem. But if your goal is to spam 1000 of something, now you need to wait 5 seconds between each post, and the task can be made progressively harder so that by item 1000 it's a 5 hour calculation rather than 5 seconds.