Skip to content

Commit 7b09f4e

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 619ebe4 commit 7b09f4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: discord/guild.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -2814,7 +2814,7 @@ async def fetch_roles(self) -> list[Role]:
28142814
"""
28152815
data = await self._state.http.get_roles(self.id)
28162816
return [Role(guild=self, state=self._state, data=d) for d in data]
2817-
2817+
28182818
async def fetch_role(self, role_id: int) -> Role:
28192819
"""|coro|
28202820
@@ -2823,14 +2823,14 @@ async def fetch_role(self, role_id: int) -> Role:
28232823
.. note::
28242824
28252825
This method is an API call. For general usage, consider using :attr:`get_role` instead.
2826-
2826+
28272827
.. versionadded:: 2.7
28282828
28292829
Returns
28302830
-------
28312831
:class:`Role`
28322832
The role in the guild with the specified ID.
2833-
2833+
28342834
Raises
28352835
------
28362836
HTTPException

0 commit comments

Comments
 (0)