misc: update lib patch

master
Marc 2021-10-01 15:58:44 +01:00
parent e193d9a7fc
commit ce8bd4d1a4
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
1 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,5 @@
diff -Nurx '.*' discord.go/structs.go discordgo/structs.go --- structs.go.old 2021-10-01 14:56:44.944208960 +0000
--- discord.go/structs.go 2021-05-28 16:13:27.712814231 +0000 +++ structs.go 2021-10-01 14:56:41.660150490 +0000
+++ discordgo/structs.go 2021-05-28 16:29:42.482943595 +0000
@@ -310,12 +310,12 @@ @@ -310,12 +310,12 @@
Name string `json:"name,omitempty"` Name string `json:"name,omitempty"`
Topic string `json:"topic,omitempty"` Topic string `json:"topic,omitempty"`
@ -12,7 +11,7 @@ diff -Nurx '.*' discord.go/structs.go discordgo/structs.go
PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites,omitempty"` PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites,omitempty"`
ParentID string `json:"parent_id,omitempty"` ParentID string `json:"parent_id,omitempty"`
- RateLimitPerUser int `json:"rate_limit_per_user,omitempty"` - RateLimitPerUser int `json:"rate_limit_per_user,omitempty"`
+ RateLimitPerUser int `json:"rate_limit_per_user"` + RateLimitPerUser *int `json:"rate_limit_per_user,omitempty"`
} }
// A ChannelFollow holds data returned after following a news channel // A ChannelFollow holds data returned after following a news channel