From 9bdf15535324060b32f9c2f335b82f0974789ae8 Mon Sep 17 00:00:00 2001 From: Middledot Date: Sun, 5 Nov 2023 21:14:26 -0500 Subject: [PATCH] fix(events): reaction event broke :( --- 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 39eab47443..47d8b79e03 100644 --- a/discord/raw_models.py +++ b/discord/raw_models.py @@ -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"])