Make all properties in T optional

interface AutoModerationRuleEditOptions {
    actions?: readonly AutoModerationActionOptions[];
    enabled?: boolean;
    eventType?: AutoModerationRuleEventType;
    exemptChannels?:
        | ReadonlyCollection<string, GuildBasedChannel>
        | readonly GuildChannelResolvable[];
    exemptRoles?: ReadonlyCollection<string, Role> | readonly RoleResolvable[];
    name?: string;
    reason?: string;
    triggerMetadata?: AutoModerationTriggerMetadataOptions;
}

Hierarchy (View Summary)

Properties

actions?: readonly AutoModerationActionOptions[]
enabled?: boolean
exemptChannels?:
    | ReadonlyCollection<string, GuildBasedChannel>
    | readonly GuildChannelResolvable[]
exemptRoles?: ReadonlyCollection<string, Role> | readonly RoleResolvable[]
name?: string
reason?: string