title: How to make datetime constantly check the time and send a message in discord.py
body: <p>So I want my discord bot to send out a message in the server every morning at 7 am. Using my variable time which is:</p>
  <pre><code>time = datetime.datetime.now()
  </code></pre>
  <p>and doing time.hour and time.minute, I can make it print something at the time i want using:</p>
  <pre><code>if time.hour == 7:
      print('Its 7 am')
  </code></pre>
  <p>but using a whle statement datetime doesnt actually refresh the time. Second of all if there are any discord.py people how would i send the message without using an event refernec or command?</p>