python-zulip-api/contrib_bots
Robert Hönig 26fa2a5fc5 Add a rate limit for bots in contrib_bots
To prevent bots from accidently entering an infinite message loop,
where they send messages as a reacting to their own messages,
this commit adds the RateLimit class to run.py. It specifies how
many messages can be sent in a given time interval. If this rate
is exceeded, run.py exits with an error.
Fixes #3210.
2017-01-10 13:42:40 -08:00
..
lib Improved 'readme.md' file in contrib_bots/lib 2017-01-10 07:03:57 -08:00
run.py Add a rate limit for bots in contrib_bots 2017-01-10 13:42:40 -08:00