mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-02-08 04:28:32 +00:00
Discord: fix wrong field naming
This commit is contained in:
parent
68d3129bfd
commit
68701704a1
|
@ -65,8 +65,8 @@ type Guild struct {
|
|||
// This field is nullable.
|
||||
AppID Snowflake `json:"application_id,string,omitempty"`
|
||||
|
||||
// WidgetEnabled is true if the server widget is enabled.
|
||||
WidgetEnabled bool `json:"widget_enabled,omitempty"`
|
||||
// Widget is true if the server widget is enabled.
|
||||
Widget bool `json:"widget_enabled,omitempty"`
|
||||
// WidgetChannelID is the channel id that the widget will generate an
|
||||
// invite to, or null if set to no invite.
|
||||
WidgetChannelID Snowflake `json:"widget_channel_id,string,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue