1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00

Discord: Embed fields deprecated

This commit is contained in:
diamondburned 2020-10-28 14:13:19 -07:00
parent 7a757209c2
commit d405cc22b7

View file

@ -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.