aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack1142 <[email protected]>2021-04-22 05:24:04 +0200
committerRapptz <[email protected]>2021-05-01 10:30:27 -0400
commitccf7e65c50ceee0ccee06d7f4169bc3b338b2a01 (patch)
tree30d9e70b96fbd9d0aee123dd48d443540fcaca31
parentFix typo within `HelpCommand.verify_checks` documentation (diff)
downloaddiscord.py-ccf7e65c50ceee0ccee06d7f4169bc3b338b2a01.tar.xz
discord.py-ccf7e65c50ceee0ccee06d7f4169bc3b338b2a01.zip
Fix documentation for RoleConverter
-rw-r--r--discord/ext/commands/converter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py
index 730b3441..fdc7649b 100644
--- a/discord/ext/commands/converter.py
+++ b/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):