Skip to content

Commit 28ac68d

Browse files
ci: correct from checks.
1 parent 97cda97 commit 28ac68d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

interactions/api/voice/player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def run(self) -> None:
135135
self.state.ws.send_packet(data, self._encoder, needs_encode=self.current_audio.needs_encode)
136136
elif self.current_audio.locked_stream or not self.current_audio.audio_complete:
137137
# if more audio is expected
138-
self.state.ws.send_packet(b"\xF8\xFF\xFE", self._encoder, needs_encode=False)
138+
self.state.ws.send_packet(b"\xf8\xff\xfe", self._encoder, needs_encode=False)
139139
else:
140140
break
141141

interactions/client/utils/serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def get_file_mimetype(file_data: bytes) -> str:
175175
return "application/json"
176176
if file_data.startswith((b"GIF87a", b"GIF89a")):
177177
return "image/gif"
178-
if file_data.startswith(b"\x89PNG\x0D\x0A\x1A\x0A"):
178+
if file_data.startswith(b"\x89PNG\x0d\x0a\x1a\x0a"):
179179
return "image/png"
180180
if file_data.startswith(b"\xff\xd8\xff"):
181181
return "image/jpeg"

interactions/models/discord/channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2683,7 +2683,7 @@ class GuildMedia(GuildForum): ...
26832683

26842684

26852685
def process_permission_overwrites(
2686-
overwrites: Union[dict, PermissionOverwrite, List[Union[dict, PermissionOverwrite]]]
2686+
overwrites: Union[dict, PermissionOverwrite, List[Union[dict, PermissionOverwrite]]],
26872687
) -> List[dict]:
26882688
"""
26892689
Processes a permission overwrite lists into format for sending to discord.

interactions/models/discord/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ def process_components(
12311231
BaseComponent,
12321232
Dict,
12331233
]
1234-
]
1234+
],
12351235
) -> List[Dict]:
12361236
"""
12371237
Process the passed components into a format discord will understand.

interactions/models/discord/message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def process_allowed_mentions(allowed_mentions: Optional[Union[AllowedMentions, d
982982

983983

984984
def process_message_reference(
985-
message_reference: Optional[Union[MessageReference, Message, dict, "Snowflake_Type"]]
985+
message_reference: Optional[Union[MessageReference, Message, dict, "Snowflake_Type"]],
986986
) -> Optional[dict]:
987987
"""
988988
Process mention references into a dictionary.

0 commit comments

Comments
 (0)