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

Limit output #152

Closed
Ghezzo opened this issue Mar 1, 2013 · 3 comments
Closed

Limit output #152

Ghezzo opened this issue Mar 1, 2013 · 3 comments

Comments

@Ghezzo
Copy link

Ghezzo commented Mar 1, 2013

Limit the output, example:
limiting it to 20 messages per 30 seconds.

Is this possible?

@katanacrimson
Copy link
Contributor

define "messages"

@Ghezzo
Copy link
Author

Ghezzo commented Mar 1, 2013

With messages I meant .say(), each .say() is 1 message.
So a limit of 20 .say() per 30 seconds.

@katanacrimson
Copy link
Contributor

Nope, not available - easy enough to write yourself though. Add yourself a counter and then add a settimeout callback to decrement it every time you fire off a "say".

@Ghezzo Ghezzo closed this as completed Mar 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants