Skip to content

Commit

Permalink
feat: add support for "applied_tags" field for WebhookExecuteRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Azn9 committed Jun 11, 2024
1 parent 1cd8b3a commit c2155e8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import discord4j.discordjson.Id;
import discord4j.discordjson.possible.Possible;
import org.immutables.value.Value;

Expand All @@ -18,6 +19,10 @@ static ImmutableWebhookExecuteRequest.Builder builder() {
}

Possible<String> username();

@JsonProperty("avatar_url")
Possible<String> avatarUrl();

@JsonProperty("applied_tags")
Possible<List<Id>> appliedTags();
}

0 comments on commit c2155e8

Please sign in to comment.