Skip to content

Commit

Permalink
Discord: Embed fields deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Oct 28, 2020
1 parent 7a75720 commit d405cc2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions discord/guild.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ type Guild struct {
// AFKTimeout is the afk timeout in seconds.
AFKTimeout Seconds `json:"afk_timeout"`

// Embeddable is true if the server widget is enabled.
//
// Deprecated: replaced with WidgetEnabled
Embeddable bool `json:"embed_enabled,omitempty"`
// EmbedChannelID is the channel id that the widget will generate an invite
// to, or null if set to no invite .
//
// Deprecated: replaced with WidgetChannelID
EmbedChannelID ChannelID `json:"embed_channel_id,string,omitempty"`

// Verification is the verification level required for the guild.
Verification Verification `json:"verification_level"`
// Notification is the default message notifications level.
Expand Down

0 comments on commit d405cc2

Please sign in to comment.