diff --git a/discord/raw_models.py b/discord/raw_models.py index e10674d17a..a2881839a6 100644 --- a/discord/raw_models.py +++ b/discord/raw_models.py @@ -336,7 +336,7 @@ class RawReactionClearEmojiEvent(_RawReprMixin): "data", "burst_colours", "burst_colors", - "type" + "type", ) def __init__(self, data: ReactionClearEmojiEvent, emoji: PartialEmoji) -> None: @@ -817,7 +817,15 @@ class RawMessagePollVoteEvent(_RawReprMixin): The raw data sent by the `gateway ` """ - __slots__ = ("user_id", "message_id", "answer_id", "channel_id", "guild_id", "data", "added") + __slots__ = ( + "user_id", + "message_id", + "answer_id", + "channel_id", + "guild_id", + "data", + "added", + ) def __init__(self, data: MessagePollVoteEvent, added: bool) -> None: self.user_id: int = int(data["user_id"]) diff --git a/discord/utils.py b/discord/utils.py index 417fbc4f7e..9f01f53e71 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -377,7 +377,7 @@ def decorated(*args: P.args, **kwargs: P.kwargs) -> T: since=since, removed=removed, reference=reference, - stacklevel=stacklevel + stacklevel=stacklevel, ) return func(*args, **kwargs)