Type Alias GuildHealthPermissionItem

GuildHealthPermissionItem: {
    id: string | null;
    kind: "channel" | "role" | "server";
    missing: string[];
    name: string | null;
    ok: boolean;
    problems: string[];
    usedBy: string[];
}

A saved channel or role, or a server-wide permission (kind: 'server', id null).

  • usedBy: what uses it, e.g. "Kick live posts: xqc".
  • missing: Discord permission flags Noti lacks (channel or server), e.g. AttachFiles.
  • problems: channel missing (deleted) / no-access (hidden from Noti); role missing, managed, everyone, above-noti (move Noti's role above it), no-manage-roles, not-mentionable (a ping would ping nobody).