title: Discord.py: Trying to do an action depending on user reaction
body: <p>This is the code:</p>
  
  <pre><code>import asyncio
  import discord
  from discord.ext import commands
  
  client = commands.Bot(command_prefix = ".")
  Token=""
  
  @client.command()
  async def react(ctx):
      message = await ctx.send("Test")
      await message.add_reaction("&lt;&gt;")
      await message.add_reaction("&lt;&gt;")
      user=ctx.message.author
      def check(reaction, user):
          user == ctx.message.author and str(message.emoji) == ''
          try:
              reaction, user = await client.wait_for('reaction_add', timeout=60.0, check=check)
          except asyncio.TimeoutError:
              await channel.send('')
          else:
              await channel.send('')
  
  client.run(Token)
  </code></pre>
  
  <p>The problem is that I always get an error "'await' outside async function", and the a of "reaction, user = a" get highlighted. Thank you for any help.</p>