Skip to content

Commit 1cc3712

Browse files
committed
fix(events): forgot this
1 parent 9bdf155 commit 1cc3712

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

discord/raw_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def __init__(self, data: ReactionClearEmojiEvent, emoji: PartialEmoji) -> None:
333333
self.burst: bool = data.get("burst")
334334
self.burst_colours: list = data.get("burst_colors", [])
335335
self.burst_colors: list = self.burst_colours
336-
self.type: ReactionType = try_enum(data.get("type", 0))
336+
self.type: ReactionType = try_enum(ReactionType, data.get("type", 0))
337337

338338
try:
339339
self.guild_id: int | None = int(data["guild_id"])

0 commit comments

Comments
 (0)