Skip to content

Commit

Permalink
Add AppliedTags to WebhookMessageCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed Dec 5, 2023
1 parent 3b5ce75 commit 1fd0121
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions discord/webhook_message_create.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package discord

import "github.com/disgoorg/snowflake/v2"

type WebhookMessageCreate struct {
Content string `json:"content,omitempty"`
Username string `json:"username,omitempty"`
Expand All @@ -12,6 +14,7 @@ type WebhookMessageCreate struct {
AllowedMentions *AllowedMentions `json:"allowed_mentions,omitempty"`
Flags MessageFlags `json:"flags,omitempty"`
ThreadName string `json:"thread_name,omitempty"`
AppliedTags []snowflake.ID `json:"applied_tags,omitempty"`
}

// ToBody returns the MessageCreate ready for body
Expand Down

0 comments on commit 1fd0121

Please sign in to comment.