diff options
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/ext/commands/converter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index b12b9804..f950a834 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -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): |