title: Discord.py change presence
body: <p>Hello i am making a bot and i want to change the presence</p>
  
  <p>I keep getting a error i was hoping someone could tell me what i am doing wrong</p>
  
  <pre><code>import discord
  from discord.ext import commands
  from discord.ext.commands import Bot
  import asyncio
  import chalk
  import requests
  import random
  
  #Bot token
  bottoken = "snip"
  #Bot command prefix
  commandprefix = "#"
  
  bot = commands.Bot(command_prefix=commandprefix)
  
  @bot.event
  async def on_ready():
      print ("Starting up")
      print ("My username is " + bot.user.name + " and i am running with the ID: " + bot.user.id)
      await self.bot.change_presence(game=discord.Game(name="Test", type=1))
      print ("Started")
  
  change_presence( game=None, status=None, afk=False)
  
  @bot.command(pass_context=True)
  async def hello(ctx):
      await bot.say("hi")
      print ("hi Posted")
  
  bot.run(bottoken)
  </code></pre>
  
  <p>and the error</p>
  
  <pre><code>Traceback (most recent call last):
  
  File "thefilelocationonmypc", line 64, in &lt;module&gt;
  
  change_presence( game=None, status=None, afk=False)
  
  NameError: name 'change_presence' is not defined
  </code></pre>