mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-07-15 01:55:37 +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.
|
// This field is nullable.
|
||||||
AppID Snowflake `json:"application_id,string,omitempty"`
|
AppID Snowflake `json:"application_id,string,omitempty"`
|
||||||
|
|
||||||
// WidgetEnabled is true if the server widget is enabled.
|
// Widget is true if the server widget is enabled.
|
||||||
WidgetEnabled bool `json:"widget_enabled,omitempty"`
|
Widget bool `json:"widget_enabled,omitempty"`
|
||||||
// WidgetChannelID is the channel id that the widget will generate an
|
// WidgetChannelID is the channel id that the widget will generate an
|
||||||
// invite to, or null if set to no invite.
|
// invite to, or null if set to no invite.
|
||||||
WidgetChannelID Snowflake `json:"widget_channel_id,string,omitempty"`
|
WidgetChannelID Snowflake `json:"widget_channel_id,string,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue