Skip to content

Commit ccf7e65

Browse files
JackenmenRapptz
authored andcommitted
Fix documentation for RoleConverter
1 parent eb1d03f commit ccf7e65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/ext/commands/converter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,8 @@ async def convert(self, ctx, argument):
608608
class RoleConverter(IDConverter):
609609
"""Converts to a :class:`~discord.Role`.
610610
611-
All lookups are via the local guild. If in a DM context, then the lookup
612-
is done by the global cache.
611+
All lookups are via the local guild. If in a DM context, the converter raises
612+
:exc:`.NoPrivateMessage` exception.
613613
614614
The lookup strategy is as follows (in order):
615615

0 commit comments

Comments
 (0)