Skip to content

Commit

Permalink
feat(Webhook): add 'type' field
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC committed Nov 17, 2019
1 parent 2fc1579 commit 221d699
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/structs/webhook.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ defmodule Crux.Structs.Webhook do
id: nil,
name: nil,
token: nil,
type: nil,
user: nil
)

Expand All @@ -32,6 +33,7 @@ defmodule Crux.Structs.Webhook do
guild_id: Snowflake.t() | nil,
name: String.t() | nil,
token: String.t() | nil,
type: non_neg_integer(),
user: Snowflake.t() | nil
}

Expand Down

0 comments on commit 221d699

Please sign in to comment.