Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rate limiting of message to avoid channel flooding #62

Open
RussellChamp opened this issue Feb 28, 2019 · 0 comments
Open

Add rate limiting of message to avoid channel flooding #62

RussellChamp opened this issue Feb 28, 2019 · 0 comments
Labels
enhancement additional features irc issues related directly to IRC

Comments

@RussellChamp
Copy link
Contributor

Many channels have anti flooding settings that will cause an overly-chatty bot to get kicked. Eg, 5 lines within 10 seconds.
Add either an optional delay timer or max msg lines or rate limit or something to avoid getting kicked for flooding.
Eg Setting flood_limit 5 and flood_time 10 will cause the bot to rate limit itself whenever pinhook.plugin.message receives more than 5 lines in the array. It could print the first 5 lines then wait 10 seconds or only print a message every 2 seconds.

@archangelic archangelic added enhancement additional features irc issues related directly to IRC labels Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement additional features irc issues related directly to IRC
Projects
Status: To-do
Development

No branches or pull requests

2 participants