From 7b09f4e4bf25390ece67f3717c14c7eb22c90bf5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 21:45:42 +0000 Subject: [PATCH] style(pre-commit): auto fixes from pre-commit.com hooks --- discord/guild.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/guild.py b/discord/guild.py index 047316f15d..52d2acd783 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -2814,7 +2814,7 @@ async def fetch_roles(self) -> list[Role]: """ data = await self._state.http.get_roles(self.id) return [Role(guild=self, state=self._state, data=d) for d in data] - + async def fetch_role(self, role_id: int) -> Role: """|coro| @@ -2823,14 +2823,14 @@ async def fetch_role(self, role_id: int) -> Role: .. note:: This method is an API call. For general usage, consider using :attr:`get_role` instead. - + .. versionadded:: 2.7 Returns ------- :class:`Role` The role in the guild with the specified ID. - + Raises ------ HTTPException