title: Wait for message then send response discord.py
body: <p>I'm looking for some help with the following code:</p>
  <pre><code>if message.content.startswith(&quot;keycode&quot;):
        channel = bot.get_channel(00000000000000)
        await channel.send('sentence 1')
        await asyncio.sleep(3)
        await channel.send('sentence 2.')
        await asyncio.sleep(3)
        await channel.send('Please reply &quot;yes&quot; or &quot;no&quot;.')
  
        try:
          await bot.wait_for('message', timeout=15.0)
        except asyncio.TimeoutError:
          await channel.send('You ran out of time to answer!')
        if message.content == 'yes':
          await channel.send('You replied yes')
        else:
          await channel.send('You didn't reply yes.')
  </code></pre>
  <p>Basically upon request, the discord bot will give out a response to the selected channel and then following that response it will ask if a user can reply &quot;yes&quot; or &quot;no&quot;. Then, if the a user replies &quot;yes&quot; it will give out the &quot;You replied yes&quot; response and if not it will give out the &quot;You didn't reply yes&quot; response.</p>
  <p>My issue is that whenever I run the command and type &quot;yes&quot; after its response, I always get the &quot;You didn't reply yes&quot; response&quot;. (It does send the &quot;you ran out of time to answer&quot; response if I don't respond within the given time frame).</p>
  <p>I'm very new to all this so it would be great if someone could pick up on all my errors. Thanks in advance.</p>