Give Client.email a default value of None.

This commit is contained in:
Rapptz 2016-06-12 23:44:41 -04:00
parent c3933c379a
commit 8d1867393c

View File

@ -126,6 +126,7 @@ class Client:
"""
def __init__(self, *, loop=None, **options):
self.ws = None
self.email = None
self.loop = asyncio.get_event_loop() if loop is None else loop
self._listeners = []
self.cache_auth = options.get('cache_auth', True)