title: bot.user.name // id // discriminator Returing error
body: <pre><code>token = &quot;&quot;
  prefix = &quot;$&quot;
  bot = discord.bot(command_prefix=prefix, self_bot=True)
  
  @bot.event
  async def on_ready():
    print('bot.user.name')
  
  bot.run(token,bot=false)
  </code></pre>
  <ol>
  <li>Now Problem is this code return</li>
  </ol>
  <pre><code>AttributeError: object 'nonetype' has no attribute 'name'.
  </code></pre>