-
Notifications
You must be signed in to change notification settings - Fork 128
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
Feature planning: Behaviours #592
Labels
Comments
What if as part of this we rip Nostrum out of the Application path and require users start it as part of their own Supervision tree instead? More or less taking inspiration from how Ecto allows you to have multiple Repos running at the same time? |
Yes, this is the plot. To properly support multi-bot usage with that
though we need to make it flexible enough such that users can choose
their own implementation of e.g. ratelimiting. For instance, the
`request` method of the ratelimiter should probably be a behaviour and
accept, as its last argument, the bot ID to run the request on.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Behaviours
The text was updated successfully, but these errors were encountered: