diff options
| author | jack1142 <[email protected]> | 2021-04-22 05:24:04 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-05-01 10:30:27 -0400 |
| commit | ccf7e65c50ceee0ccee06d7f4169bc3b338b2a01 (patch) | |
| tree | 30d9e70b96fbd9d0aee123dd48d443540fcaca31 | |
| parent | Fix typo within `HelpCommand.verify_checks` documentation (diff) | |
| download | discord.py-ccf7e65c50ceee0ccee06d7f4169bc3b338b2a01.tar.xz discord.py-ccf7e65c50ceee0ccee06d7f4169bc3b338b2a01.zip | |
Fix documentation for RoleConverter
| -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 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): |