You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But, could there be a option for a DSL block to implement its own way to get the gateway, i.e:
val kord =Kord {
gateway {
SomeCustomGateway()
}
}
In which, SomeCustomGateway inherits from the Gateway interface.
Also, could there be a new Gateway class for a fixed amount of shards, probably named FixedShardGateway? Or a better name if suggested, in which, you can link it to the gateway DSL block. This can probably be linked with the multi-process issue (#7).
If you don't plan to let users create a custom gateway for Kord, that's completely fine and it can be closed if there is any issues with it.
The text was updated successfully, but these errors were encountered:
Thanks for opening the issue.
Yes, we do plan to change how gateways work in general. So we will have time to look at your request from a better perspective by then.
At the moment, Kord only implements the MasterGateway:
https://github.com/kordlib/kord/blob/0.8.x/core/src/main/kotlin/builder/kord/KordBuilder.kt#L229-L240
But, could there be a option for a DSL block to implement its own way to get the gateway, i.e:
In which,
SomeCustomGateway
inherits from the Gateway interface.Also, could there be a new Gateway class for a fixed amount of shards, probably named FixedShardGateway? Or a better name if suggested, in which, you can link it to the
gateway
DSL block. This can probably be linked with the multi-process issue (#7).If you don't plan to let users create a custom gateway for Kord, that's completely fine and it can be closed if there is any issues with it.
The text was updated successfully, but these errors were encountered: