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 (780) [earned 5 cycles]
View Answer
ArchieMaclean (780)

@ArchieMaclean Actually, I just realised Python3 doesn't support xrange :| Just use range instead.
Sorry, I'm used to python2