Interface CommandContextFactory<C>

    • Method Summary

      Modifier and Type Method Description
      @NonNull CommandContext<C> create​(boolean suggestions, @NonNull C sender, @NonNull CaptionRegistry<C> captionRegistry)
      Create a new command context
    • Method Detail

      • create

        @NonNull CommandContext<C> create​(boolean suggestions,
                                          @NonNull C sender,
                                          @NonNull CaptionRegistry<C> captionRegistry)
        Create a new command context
        Parameters:
        suggestions - Whether or not the sender is requesting suggestions
        sender - Command sender
        captionRegistry - Caption registry
        Returns:
        Command context