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