From afcec46dfddc5922171a9dd9326ed2c77f51f40f Mon Sep 17 00:00:00 2001 From: z03h <7235242+z03h@users.noreply.github.com> Date: Tue, 9 Aug 2022 19:52:30 -0700 Subject: [PATCH] Fix Sticker Objects type being StageInstance --- discord/audit_logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/audit_logs.py b/discord/audit_logs.py index 7b50b3e05..2fbbfda70 100644 --- a/discord/audit_logs.py +++ b/discord/audit_logs.py @@ -716,7 +716,7 @@ class AuditLogEntry(Hashable): return self.guild.get_stage_instance(target_id) or Object(id=target_id, type=StageInstance) def _convert_target_sticker(self, target_id: int) -> Union[GuildSticker, Object]: - return self._state.get_sticker(target_id) or Object(id=target_id, type=StageInstance) + return self._state.get_sticker(target_id) or Object(id=target_id, type=GuildSticker) def _convert_target_thread(self, target_id: int) -> Union[Thread, Object]: return self.guild.get_thread(target_id) or Object(id=target_id, type=Thread)