For every x amount of messages sent wait x amount of time and continue

Is there a way to make it so for example, you send 1000 messages per second and you send the first 1000 messages to then wait like 1 second and continue?

You are viewing a single comment. View All
Answered by ArchieMaclean (777) [earned 5 cycles]
View Answer
ArchieMaclean (777)

@MATTHEWBECHTEL you can remove that bit if you want (the last time.sleep(1).
Also, I should have put xrange above, not range. I have changed it.