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
gateway.Gateway.Latency()
I'm trying to call gateway.Gateway's Latency() method the following way:
gateway.Gateway
Latency()
Handler: func(s *state.State) cmdroute.CommandHandlerFunc { return func(ctx context.Context, cmd cmdroute.CommandData) *api.InteractionResponseData { return &api.InteractionResponseData{ Embeds: util.Embeds( fmt.Sprintf("🏓 Pong! Bot's latency to Discord is %dms.", s.Gateway().Latency().Milliseconds()), ), } } },
which results in:
might be related to #360
The text was updated successfully, but these errors were encountered:
Closing this since I believe it's fixed on 23140ac.
Sorry, something went wrong.
No branches or pull requests
I'm trying to call
gateway.Gateway
'sLatency()
method the following way:which results in:
might be related to #360
The text was updated successfully, but these errors were encountered: