From f2e81c76b53be0b9850bba5d2c1a49c3e2a8fd7e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 17:06:28 +0000 Subject: [PATCH] style(pre-commit): auto fixes from pre-commit.com hooks --- discord/client.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/discord/client.py b/discord/client.py index 7893abf7ed..d45dd6a7ed 100644 --- a/discord/client.py +++ b/discord/client.py @@ -2154,7 +2154,9 @@ async def fetch_emojis(self) -> list[AppEmoji]: List[:class:`AppEmoji`] The retrieved emojis. """ - data = await self._connection.http.get_all_application_emojis(self.application_id) + data = await self._connection.http.get_all_application_emojis( + self.application_id + ) return [ self._connection.maybe_store_app_emoji(self.application_id, d) for d in data["items"] @@ -2244,6 +2246,8 @@ async def delete_emoji( An error occurred deleting the emoji. """ - await self._connection.http.delete_application_emoji(self.application_id, emoji.id) + await self._connection.http.delete_application_emoji( + self.application_id, emoji.id + ) if self._connection.cache_app_emojis and self._connection.get_emoji(emoji.id): self._connection.remove_emoji(emoji)