[docs] discord/client: remove reference to async_event

This commit is contained in:
bmintz 2018-07-10 19:20:16 -05:00 committed by Rapptz
parent ec3435b224
commit 87d9eefdef

View File

@ -763,21 +763,14 @@ class Client:
The events must be a |corourl|_, if not, :exc:`ClientException` is raised.
Examples
Example
---------
Using the basic :meth:`event` decorator: ::
::
@client.event
async def on_ready():
print('Ready!')
Saving characters by using the :meth:`async_event` decorator: ::
@client.async_event
def on_ready():
print('Ready!')
"""
if not asyncio.iscoroutinefunction(coro):