mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
Fix documentation for RoleConverter
This commit is contained in:
1 parent
eb1d03f8f7
commit
ccf7e65c50
1 file changed
+2
-2
@@ -608,8 +608,8 @@ ColorConverter = ColourConverter
|
||||
class RoleConverter(IDConverter):
|
||||
"""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):
|
||||
|
||||
|
||||
Reference in new issue
Block a user