File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2814,7 +2814,7 @@ async def fetch_roles(self) -> list[Role]:
2814
2814
"""
2815
2815
data = await self ._state .http .get_roles (self .id )
2816
2816
return [Role (guild = self , state = self ._state , data = d ) for d in data ]
2817
-
2817
+
2818
2818
async def fetch_role (self , role_id : int ) -> Role :
2819
2819
"""|coro|
2820
2820
@@ -2823,14 +2823,14 @@ async def fetch_role(self, role_id: int) -> Role:
2823
2823
.. note::
2824
2824
2825
2825
This method is an API call. For general usage, consider using :attr:`get_role` instead.
2826
-
2826
+
2827
2827
.. versionadded:: 2.7
2828
2828
2829
2829
Returns
2830
2830
-------
2831
2831
:class:`Role`
2832
2832
The role in the guild with the specified ID.
2833
-
2833
+
2834
2834
Raises
2835
2835
------
2836
2836
HTTPException
You can’t perform that action at this time.
0 commit comments