Fix FAQ to showcase that there is a single parameter, the error.

This commit is contained in:
Rapptz 2017-06-02 06:25:39 -04:00
parent 5e6491c3fe
commit a18267ca49

View File

@ -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: