mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 01:53:01 +00:00
Add intersphinx
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user