Skip to content

Commit

Permalink
fix(types): Permissions type instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroyuki committed Jul 11, 2021
1 parent 5c69139 commit 89e435a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/audit_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ type AuditLogChangeKey struct {
Color *int `json:"color"`
Hoist *bool `json:"hoist"`
Mentionable *bool `json:"mentionable"`
Allow *string `json:"allow"`
Deny *string `json:"deny"`
Allow *Permissions `json:"allow"`
Deny *Permissions `json:"deny"`
Code *string `json:"code"`
ChannelID *Snowflake `json:"channel_id"`
InviterID *Snowflake `json:"inviter_id"`
Expand Down

0 comments on commit 89e435a

Please sign in to comment.