scuzzy/dgo.patch

18 lines
1.0 KiB
Diff
Raw Normal View History

2021-10-01 14:58:44 +00:00
--- structs.go.old 2021-10-01 14:56:44.944208960 +0000
+++ structs.go 2021-10-01 14:56:41.660150490 +0000
2021-05-28 16:34:34 +00:00
@@ -310,12 +310,12 @@
Name string `json:"name,omitempty"`
Topic string `json:"topic,omitempty"`
NSFW bool `json:"nsfw,omitempty"`
- Position int `json:"position"`
+ Position int `json:"position,omitempty"`
Bitrate int `json:"bitrate,omitempty"`
UserLimit int `json:"user_limit,omitempty"`
PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites,omitempty"`
ParentID string `json:"parent_id,omitempty"`
- RateLimitPerUser int `json:"rate_limit_per_user,omitempty"`
2021-10-01 14:58:44 +00:00
+ RateLimitPerUser *int `json:"rate_limit_per_user,omitempty"`
2021-05-28 16:34:34 +00:00
}
// A ChannelFollow holds data returned after following a news channel