From 934fdd0dea1837fe1d36fb9071596f0d2aef39d5 Mon Sep 17 00:00:00 2001 From: Pedro <3602279+Doc94@users.noreply.github.com> Date: Thu, 8 Aug 2024 08:35:23 -0400 Subject: [PATCH] Make all fields in AutoModRuleModifyRequest Possible (#186) --- .../discordjson/json/AutoModRuleModifyRequest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/discord4j/discordjson/json/AutoModRuleModifyRequest.java b/src/main/java/discord4j/discordjson/json/AutoModRuleModifyRequest.java index 5c6e88ae..1e0595f0 100644 --- a/src/main/java/discord4j/discordjson/json/AutoModRuleModifyRequest.java +++ b/src/main/java/discord4j/discordjson/json/AutoModRuleModifyRequest.java @@ -17,22 +17,22 @@ static ImmutableAutoModRuleModifyRequest.Builder builder() { return ImmutableAutoModRuleModifyRequest.builder(); } - String name(); + Possible name(); @JsonProperty("event_type") - int eventType(); + Possible eventType(); @JsonProperty("trigger_metadata") Possible triggerMetadata(); - List actions(); + Possible> actions(); - boolean enabled(); + Possible enabled(); @JsonProperty("exempt_roles") - List exemptRoles(); + Possible> exemptRoles(); @JsonProperty("exempt_channels") - List exemptChannels(); + Possible> exemptChannels(); }