aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-06-02 06:25:39 -0400
committerRapptz <[email protected]>2017-06-02 06:25:39 -0400
commita18267ca49c60830dd48886e56afc4e64cabc66a (patch)
tree65870f9a97cda2692aaab1f89bd7bc9a423bbe9e /docs
parent[commands] Allow inline advanced converters via classmethods. (diff)
downloaddiscord.py-a18267ca49c60830dd48886e56afc4e64cabc66a.tar.xz
discord.py-a18267ca49c60830dd48886e56afc4e64cabc66a.zip
Fix FAQ to showcase that there is a single parameter, the error.
Diffstat (limited to 'docs')
-rw-r--r--docs/faq.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/faq.rst b/docs/faq.rst
index 21031c47..8b73357f 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -189,7 +189,7 @@ a coroutine from another thread.
However, this function returns a ``concurrent.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():
+ def my_after(error):
coro = some_channel.send('Song is done!')
fut = asyncio.run_coroutine_threadsafe(coro, client.loop)
try: