title: How to set bot's custom status with Discord.py
body: <p>I've just gotten started with Discord.py, and I would like to set a custom status for it, i.e. "Watching for e/info" but am not sure how to do that. Only thing found on SO was for Discord.js.</p>
  
  <p>My code:</p>
  
  <pre><code>import os
  import random
  from dotenv import load_dotenv
  
  from discord.ext import commands
  
  load_dotenv()
  TOKEN = os.getenv('DISCORD_TOKEN')
  
  bot = commands.Bot(command_prefix='e/')
  
  @bot.event
  async def on_ready():
      await  bot.change_presence(activity=discord.Activity 
      (type=discord.ActivityType.watching name="for e/info"))
  
  @bot.command(name='info')
  async def info(ctx):
      await ctx.send('Prefix: /e) Commands: \n    -info =&gt; Shows commands')
  
  
  bot.run(TOKEN)
  </code></pre>
  
  <p>(I followed a tutorial for this minus the Status thing, I think I'm missing an <code>import</code> statement, I'm just not sure what to <code>import</code>.)</p>