Bot banned for spamming

Hey all!

I’m trying to code a quick bot for my friend, and the account just got banned, or so I think, for spamming.

The next obvious step is to limit the number of request per minute, so I would like to know if anyone knows the limit to be on the safe side?


Stay under 20 messages/command within 30 seconds.