title: How can I change client presence with a command? Discord.py
body: <pre><code>status = None
  
  @client.command()
  async def setstatus(ctx, variable):
    global status
    print(&quot;Before&quot;, variable)
    status = variable
    await client.change_presence(activity=discord.Game(next(status)))
    await ctx.send(status)
  </code></pre>
  <p>Above is the code I currently have and it is not working.</p>
  <p><strong>Error</strong>:
  &quot;await client.change_presence(activity=discord.Game(next(status)))
  TypeError: 'str' object is not an iterator&quot;</p>
  <p>The goal is to change the bots presence text by using !setstatus.</p>
  <p>Please help.</p>