mise API - v0.0.0
    Preparing search index...

    Function motd_gather

    • Gathers the greeting's facts from the session's own index.

      Parameters

      • user: string

        Who arrived.

      • surface: string

        Where, as the surface said it; empty for none.

      Returns {
          failureRate: number | null;
          feeds: { own: number; public: number; shared: number; total: number };
          fortune: string;
          index: {
              loaded: number;
              state: "cold" | "current" | "warming";
              total: number;
          };
          jobs: {
              cancelled: number;
              errored: number;
              finished: number;
              running: number;
              scheduled: number;
              total: number;
          };
          surface: string;
          user: string;
      }

      The facts.