title: python3.6.1 | discord.py | Logging in as user
body: <p>I am trying to make some simple program, showing received messages to terminal. Now I am trying to ask user for email and password for login, but some weird error occurs. This is how my code look like: </p>
  
  <pre><code>import discord
  
  
  class DiscordClient(discord.Client):
      def __init__(self, *args, **kwargs):
          discord.Client.__init__(self, **kwargs)
  
      async def on_ready(self):
          print('Success!')
  
  
  if __name__ == '__main__':
      dc = DiscordClient()
      dc.login(input('email : '), input('password : '), bot=False)
      dc.run()
  </code></pre>
  
  <p>and the error is: </p>
  
  <pre><code>Traceback (most recent call last):
    File "/Users/jan/PycharmProjects/TheRealUltron/Main.py", line 16, in &lt;module&gt;
      dc.run()
    File "/Users/jan/TheRealZeldaPython/lib/python3.6/site-packages/discord/client.py", line 519, in run
      self.loop.run_until_complete(self.start(*args, **kwargs))
    File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 466, in run_until_complete
      return future.result()
    File "/Users/jan/TheRealZeldaPython/lib/python3.6/site-packages/discord/client.py", line 490, in start
      yield from self.login(*args, **kwargs)
    File "/Users/jan/TheRealZeldaPython/lib/python3.6/site-packages/discord/client.py", line 418, in login
      raise TypeError('login() takes 1 or 2 positional arguments but {} were given'.format(n))
  TypeError: login() takes 1 or 2 positional arguments but 0 were given
  Unclosed client session
  client_session: &lt;aiohttp.client.ClientSession object at 0x103881fd0&gt;
  </code></pre>
  
  <p>So, what am I doing wrong, or should code look like. All I was making with discord.py is on_message() and some basic commands like send_message().</p>