aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/discord/client.py b/discord/client.py
index 2e4e7b60..9bf6bc59 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -787,13 +787,6 @@ class Client:
log.debug('%s has successfully been registered as an event', coro.__name__)
return coro
- def async_event(self, coro):
- """A shorthand decorator for :func:`asyncio.coroutine` + :meth:`event`."""
- if not asyncio.iscoroutinefunction(coro):
- coro = asyncio.coroutine(coro)
-
- return self.event(coro)
-
async def change_presence(self, *, activity=None, status=None, afk=False):
"""|coro|