1
0
Fork 0
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:
Maximilian von Lindern 2020-05-22 16:22:33 +02:00 committed by diamondburned
parent 68d3129bfd
commit 68701704a1

View file

@ -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"`