diff options
| author | jack1142 <[email protected]> | 2021-04-22 05:24:04 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-21 23:24:04 -0400 |
| commit | a55e817ffe0f2e4bfa78a202d68d47a8810d2813 (patch) | |
| tree | 498e3241b2a8f67aed15d5f30f3c5647d81515f4 | |
| parent | Add Template.is_dirty (diff) | |
| download | discord.py-a55e817ffe0f2e4bfa78a202d68d47a8810d2813.tar.xz discord.py-a55e817ffe0f2e4bfa78a202d68d47a8810d2813.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 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): |