diff options
| author | Rapptz <[email protected]> | 2019-04-08 18:17:04 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-08 18:17:15 -0400 |
| commit | 51c64a3b73728f2fe117e02c565214db3ab8abb3 (patch) | |
| tree | 1be83508455d9aad60db470643d312ddd004689e | |
| parent | Bump PyNaCl to 1.3.0 (diff) | |
| download | discord.py-51c64a3b73728f2fe117e02c565214db3ab8abb3.tar.xz discord.py-51c64a3b73728f2fe117e02c565214db3ab8abb3.zip | |
Fix documentation so Sphinx can build semi-cleanly.
| -rw-r--r-- | discord/guild.py | 6 | ||||
| -rw-r--r-- | docs/api.rst | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/discord/guild.py b/discord/guild.py index 725a51d3..260d296b 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -1145,9 +1145,9 @@ class Guild(Hashable): return result async def fetch_emojis(self): - """|coro| + r"""|coro| - Retrieves all custom :class:`Emoji`s from the guild. + Retrieves all custom :class:`Emoji`\s from the guild. Raises --------- @@ -1498,7 +1498,7 @@ class Guild(Hashable): return AuditLogIterator(self, before=before, after=after, limit=limit, oldest_first=oldest_first, user_id=user, action_type=action) - + async def widget(self): """|coro| diff --git a/docs/api.rst b/docs/api.rst index 0058cb93..ef36ae32 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -22,7 +22,7 @@ There are two main ways to query version information about the library. For guar A named tuple that is similar to :obj:`py:sys.version_info`. - Just like :obj:`py:sys.version_info`_ the valid values for ``releaselevel`` are + Just like :obj:`py:sys.version_info` the valid values for ``releaselevel`` are 'alpha', 'beta', 'candidate' and 'final'. .. data:: __version__ |