We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems like by default, DefaultGateway is being used, which has largeThreshold set to 50:
DefaultGateway
50
kord/gateway/src/main/kotlin/DefaultGateway.kt
Lines 301 to 310 in 62e5744
I couldn't find a way to change this using the KordBuilder.
KordBuilder
Increasing this could aid larger bots in reducing the amount of guilds that need to have their members requested.
I don't know if there would be a drawback in increasing this to 250 by default. But if there is, exposing it so it can be configured would be good.
250
The text was updated successfully, but these errors were encountered:
Should be able to specify threshold from gateway configuration now
Sorry, something went wrong.
How can this be set using KordBuilder? Since I'm using KordEx, this is the only thing I have to configure Kord (as far as I know)
I see that this is defined from GatewayConfigurationBuilder in the start extension function of Gateway.
GatewayConfigurationBuilder
start
Gateway
it's 250 by default as far as the builder implies
No branches or pull requests
It seems like by default,
DefaultGateway
is being used, which has largeThreshold set to50
:kord/gateway/src/main/kotlin/DefaultGateway.kt
Lines 301 to 310 in 62e5744
I couldn't find a way to change this using the
KordBuilder
.Increasing this could aid larger bots in reducing the amount of guilds that need to have their members requested.
I don't know if there would be a drawback in increasing this to
250
by default. But if there is, exposing it so it can be configured would be good.The text was updated successfully, but these errors were encountered: