From 1cc3712be4d80cf8ee397588627e9f280d74de8d Mon Sep 17 00:00:00 2001 From: Middledot Date: Sun, 5 Nov 2023 21:15:25 -0500 Subject: [PATCH] fix(events): forgot this --- discord/raw_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/raw_models.py b/discord/raw_models.py index 47d8b79e03..79c8091d98 100644 --- a/discord/raw_models.py +++ b/discord/raw_models.py @@ -333,7 +333,7 @@ def __init__(self, data: ReactionClearEmojiEvent, emoji: PartialEmoji) -> None: 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"])