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

Delay Between Sends #9

Open
BlackYuzia opened this issue Oct 26, 2022 · 1 comment
Open

Delay Between Sends #9

BlackYuzia opened this issue Oct 26, 2022 · 1 comment

Comments

@BlackYuzia
Copy link

BlackYuzia commented Oct 26, 2022

Hi there. Thx for adding TS support. Best package I ever seen 👀

So, a question.
Sometimes we could get rate limited. Could you say save count for send messages and delay between them?
For example:

  • 10 messages per 10 seconds
  • 1 message per 10 seconds
    or etc (it could be like - 10 actions (edit, send, delete) between x seconds)
@SCDerox
Copy link
Owner

SCDerox commented Oct 27, 2022

This sounds like something that should not be part of the library, instead of a particular implementation. Instead the library should be able to handle ratelimits (if you get ratelimited, the library waits until your ratelimit expires)

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