title: Discord.py checking user input with wait_for
body: <p>I am trying to create a log setup command like: &quot;Are message edit logs going to be on?&quot; if yes: send the channel id. The command im trying to create is something similar to this. My code is this. I'm a noob in discord.py. Here is the code and thanks for the help.</p>
  <p>Note: I don't get any output when the command is executed.</p>
  <pre><code>@bot.command(name=&quot;logsetup&quot;)
  @commands.guild_only()
  @commands.has_any_role(&quot;Head Admininstaror&quot;, &quot;Adminstaror&quot;, &quot;Owner&quot;)
  async def log_setup(self, ctx):
      await ctx.send(&quot;Message edit logs: On/Off&quot;)
      msg = await bot.wait_for('message', check=lambda message: message.author == ctx.author)
      if msg.content.lower() == &quot;on&quot;:
          print(&quot;Working.&quot;)
          await ctx.send(&quot;Send the channel ID.&quot;)
          msg = await bot.wait_for('message', check=lambda message: message.author == ctx.author)
          editedMessageChannel = msg.content
          ctx.send(&quot;Channel is set.&quot;)
  </code></pre>