getSuggestions

open override fun getSuggestions(context: CommandContext<SharedSuggestionProvider>, builder: SuggestionsBuilder): CompletableFuture<Suggestions>

Builds completion suggestions from the current friend list.

Only friends whose usernames contain the last token of the raw command input (case-insensitive) are suggested.

Return

a future that completes with the built suggestions

Parameters

context

the command context used to access the source and input

builder

the suggestions builder to populate