title: In a Discord.Net bot, how would I wait for a certain amount of time to pass while remaining responsive?
body: <p>So, I'm making a Discord.Net bot in C# and I want to know how to wait for a certain amount of time while remaining responsive. Here's some pseudo-code to show what I mean.</p>
  
  <pre><code>Wait for 30 seconds while checking for input
  If I have found input within this 30 seconds, echo it in the current channel.
  If not, call the DoStuff() method.
  </code></pre>
  
  <p>How would I achieve this in C#? This thing above is just an example, not the real thing (obviously).</p>