Fix documentation for RoleConverter

This commit is contained in:
jack1142
2021-04-22 05:24:04 +02:00
committed by GitHub
parent 157801bc90
commit a55e817ffe

View File

@ -592,8 +592,8 @@ ColorConverter = ColourConverter
class RoleConverter(IDConverter[discord.Role]):
"""Converts to a :class:`~discord.Role`.
All lookups are via the local guild. If in a DM context, then the lookup
is done by the global cache.
All lookups are via the local guild. If in a DM context, the converter raises
:exc:`.NoPrivateMessage` exception.
The lookup strategy is as follows (in order):