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