Skip to content

Commit

Permalink
fix(events): reaction event broke :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Middledot committed Nov 6, 2023
1 parent 9e4b3ff commit 9bdf155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/raw_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def __init__(
self.burst: bool = data.get("burst")
self.burst_colours: list = data.get("burst_colors", [])
self.burst_colors: list = self.burst_colours
self.type: ReactionType = try_enum(data.get("type", 0))
self.type: ReactionType = try_enum(ReactionType, data.get("type", 0))

try:
self.guild_id: int | None = int(data["guild_id"])
Expand Down

0 comments on commit 9bdf155

Please sign in to comment.