aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-06-12 23:44:41 -0400
committerRapptz <[email protected]>2016-06-12 23:44:41 -0400
commit8d1867393c27226f1100872bc7eab83012e1543c (patch)
treef20e780c96304057b8bb52f41df24dec31f633d9
parentMake the default filename a little bit prettier. (diff)
downloaddiscord.py-8d1867393c27226f1100872bc7eab83012e1543c.tar.xz
discord.py-8d1867393c27226f1100872bc7eab83012e1543c.zip
Give Client.email a default value of None.
-rw-r--r--discord/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py
index ddf35c7a..b7c5b802 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -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)