I have made my IRC bot and I've run into the problem of flooding. I'm trying to figure out a way to space out the messages so if 10 people all execute a command at the same time it doesn't excess flood the bot. How would I do this? I was thinking of implementing a Queue but I'm not sure where to go after that.
I'm not using any frameworks for this bot nor do I want to switch to any framework (unless its extremely easy).