GuildHealth: {
    alerts: {
        codeKey: GuildHealthAlertCode;
        sentAt: string;
        target: string | null;
    }[];
    checkedAt: string;
    creators: {
        active: number;
        disabled: number;
        limit: number;
        platform: GuildHealthPlatform;
    }[];
    issues: {
        channelId: string | null;
        code: string;
        codeKey: string;
        fix: string;
        internal: boolean;
        missing: string[];
        roleId: string | null;
        severity: string;
        title: string;
        when: string;
    }[];
    logsChannel: {
        id: string | null;
        missing: string[];
        ok: boolean;
        state: GuildHealthLogsChannelState;
    };
    permissions: GuildHealthFeature[] | null;
}

Type declaration

  • alerts: {
        codeKey: GuildHealthAlertCode;
        sentAt: string;
        target: string | null;
    }[]

    target is the channel or role id the problem was about, when known.

  • checkedAt: string
  • creators: {
        active: number;
        disabled: number;
        limit: number;
        platform: GuildHealthPlatform;
    }[]
  • issues: {
        channelId: string | null;
        code: string;
        codeKey: string;
        fix: string;
        internal: boolean;
        missing: string[];
        roleId: string | null;
        severity: string;
        title: string;
        when: string;
    }[]

    Newest first, up to 25. code is the documented id (NOTI-1004), codeKey the stable key.

  • logsChannel: {
        id: string | null;
        missing: string[];
        ok: boolean;
        state: GuildHealthLogsChannelState;
    }
  • permissions: GuildHealthFeature[] | null

    Per feature, every channel and role the server has saved for it and whether Noti can use it. Every feature is listed; setUp: false means nothing is saved for it. Null when Noti could not reach the server just now - show "could not check", never "everything is broken".