title: discord.py way to use the bot in a new thread
body: <p>I'm making my discord.py bot, and I want a way to send custom messages. I tried using <code>on_message</code> but kept having error about threading.</p>
  
  <pre class="lang-py prettyprint-override"><code>@bot.event
  async def on_ready():
          print(f'{bot.user.name} is now on Discord!')
          #Here I want a loop that asks for input, then, if it gets it, the bot sends it.
  </code></pre>
  
  <p>I've tried using <code>Thread</code>'s, but I can't <code>await</code> in a thread.</p>
  
  <pre class="lang-py prettyprint-override"><code>#I want to do somthing like:
  channel = bot.get_channel(my_channel_id)
  while True:
      msg = input("Bot: ")
      await channel.send(msg)
  </code></pre>
  
  <p>Thanks for all your answers!</p>
  
  <hr>
  
  <p>EDIT:
  I'm having trouble getting your solutions to work, and I'm pretty sure it's my fault. Is there any way for the bot to run normally, but while it does, there is a loop asking for input and sending it to discord as the bot when it gets it.</p>
  
  <p>Like a <em>working</em> version of this?:</p>
  
  <pre class="lang-py prettyprint-override"><code>c = bot.get_channel(my_channel_id)
  while True:
      message = input("Bot: ")
      await c.send(message)
  
  </code></pre>