Skip to content

Commit

Permalink
misc: update lib patch
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtrot committed Oct 1, 2021
1 parent e193d9a commit ce8bd4d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dgo.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
diff -Nurx '.*' discord.go/structs.go discordgo/structs.go
--- discord.go/structs.go 2021-05-28 16:13:27.712814231 +0000
+++ discordgo/structs.go 2021-05-28 16:29:42.482943595 +0000
--- structs.go.old 2021-10-01 14:56:44.944208960 +0000
+++ structs.go 2021-10-01 14:56:41.660150490 +0000
@@ -310,12 +310,12 @@
Name string `json:"name,omitempty"`
Topic string `json:"topic,omitempty"`
Expand All @@ -12,7 +11,7 @@ diff -Nurx '.*' discord.go/structs.go discordgo/structs.go
PermissionOverwrites []*PermissionOverwrite `json:"permission_overwrites,omitempty"`
ParentID string `json:"parent_id,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

0 comments on commit ce8bd4d

Please sign in to comment.