FriendSuggestionProvider

object FriendSuggestionProvider : SuggestionProvider<SharedSuggestionProvider>

Suggestion provider for the /clientfriend remove command.

Suggests usernames that are already present in the local friend list and that match the current input.

Functions

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

Builds completion suggestions from the current friend list.