aboutsummaryrefslogtreecommitdiff
path: root/docs/faq.rst
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-04-16 03:41:41 +0100
committerGitHub <[email protected]>2021-04-15 22:41:41 -0400
commit8f9819eb4c1c0ddd477c8ff4f80deec8aea054cc (patch)
tree56eaf6a67ae68052b6ea78baea2bc1b8484b002a /docs/faq.rst
parent[commands] Remove HelpCommand.clean_prefix (#6736) (diff)
downloaddiscord.py-8f9819eb4c1c0ddd477c8ff4f80deec8aea054cc.tar.xz
discord.py-8f9819eb4c1c0ddd477c8ff4f80deec8aea054cc.zip
[docs] Fix various unresolved references
Diffstat (limited to 'docs/faq.rst')
-rw-r--r--docs/faq.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index f196f2b4..aa5bf976 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -236,7 +236,7 @@ technically in another thread, we must take caution in calling thread-safe opera
us, :mod:`asyncio` comes with a :func:`asyncio.run_coroutine_threadsafe` function that allows us to call
a coroutine from another thread.
-However, this function returns a :class:`concurrent.Future` and to actually call it we have to fetch its result. Putting all of
+However, this function returns a :class:`~concurrent.futures.Future` and to actually call it we have to fetch its result. Putting all of
this together we can do the following: ::
def my_after(error):
@@ -297,7 +297,7 @@ How do I make a web request?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To make a request, you should use a non-blocking library.
-This library already uses and requires a 3rd party library for making requests, ``aiohttp``.
+This library already uses and requires a 3rd party library for making requests, :doc:`aiohttp <aio:index>`.
Quick example: ::
@@ -395,7 +395,7 @@ Example: ::
How do I make a subcommand?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Use the ``group`` decorator. This will transform the callback into a ``Group`` which will allow you to add commands into
+Use the :func:`~ext.commands.group` decorator. This will transform the callback into a :class:`~ext.commands.Group` which will allow you to add commands into
the group operating as "subcommands". These groups can be arbitrarily nested as well.
Example: ::