Class UserArgument<C>

    • Method Detail

      • of

        public static <C> @NonNull CommandArgument<C,​org.pircbotx.User> of​(@NonNull String name)
        Create a new required user argument
        Type Parameters:
        C - Command sender type
        Parameters:
        name - Argument name
        Returns:
        Argument instance
      • optional

        public static <C> @NonNull CommandArgument<C,​org.pircbotx.User> optional​(@NonNull String name)
        Create a optional user argument
        Type Parameters:
        C - Command sender type
        Parameters:
        name - Argument name
        Returns:
        Argument instance