Browse Source

Fix documentation for RoleConverter

v1.x
jack1142 4 years ago
committed by Rapptz
parent
commit
ccf7e65c50
  1. 4
      discord/ext/commands/converter.py

4
discord/ext/commands/converter.py

@ -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):

Loading…
Cancel
Save