aboutsummaryrefslogtreecommitdiff
path: root/docs/migrating.rst
diff options
context:
space:
mode:
authorTobotimus <[email protected]>2018-01-06 17:21:56 -0500
committerRapptz <[email protected]>2018-01-06 17:23:59 -0500
commit3112e1c17e7859adf6d13ed844f4c636b4bc30d8 (patch)
tree70d7aafca549a8c245ee4fdab774e1ab5302d531 /docs/migrating.rst
parent[commands] Fix MissingRequiredArgument param handling (diff)
downloaddiscord.py-3112e1c17e7859adf6d13ed844f4c636b4bc30d8.tar.xz
discord.py-3112e1c17e7859adf6d13ed844f4c636b4bc30d8.zip
Add intersphinx
Diffstat (limited to 'docs/migrating.rst')
-rw-r--r--docs/migrating.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst
index 57d4f3a6..099872f5 100644
--- a/docs/migrating.rst
+++ b/docs/migrating.rst
@@ -22,7 +22,7 @@ Below are major model changes that have happened in v1.0
Snowflakes are int
~~~~~~~~~~~~~~~~~~~~
-Before v1.0, all snowflakes (the ``id`` attribute) were strings. This has been changed to ``int``.
+Before v1.0, all snowflakes (the ``id`` attribute) were strings. This has been changed to :class:`int`.
Quick example: ::
@@ -657,7 +657,7 @@ For example, to wait for a reaction: ::
# use user and reaction
-Since this function now can return multiple arguments, the ``timeout`` parameter will now raise a ``asyncio.TimeoutError``
+Since this function now can return multiple arguments, the ``timeout`` parameter will now raise a :exc:`asyncio.TimeoutError`
when reached instead of setting the return to ``None``. For example:
.. code-block:: python3