withOptions

public InteractionService withOptions(Consumer<ClientOptions.Builder> modifier)

Returns a view of this service with the given option modifications applied.

The original service is not modified.