Skip to content

Commit

Permalink
Make all fields in AutoModRuleModifyRequest Possible (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doc94 authored Aug 8, 2024
1 parent 2bb64f7 commit 934fdd0
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ static ImmutableAutoModRuleModifyRequest.Builder builder() {
return ImmutableAutoModRuleModifyRequest.builder();
}

String name();
Possible<String> name();

@JsonProperty("event_type")
int eventType();
Possible<Integer> eventType();

@JsonProperty("trigger_metadata")
Possible<AutoModTriggerMetaData> triggerMetadata();

List<AutoModActionData> actions();
Possible<List<AutoModActionData>> actions();

boolean enabled();
Possible<Boolean> enabled();

@JsonProperty("exempt_roles")
List<Id> exemptRoles();
Possible<List<Id>> exemptRoles();

@JsonProperty("exempt_channels")
List<Id> exemptChannels();
Possible<List<Id>> exemptChannels();

}

0 comments on commit 934fdd0

Please sign in to comment.