title: How to make my bot send message in a specific channel in discord.py
body: <p>PROBLEM</p>
  <p>I dont know where I am wrong but the below code seems to throw me NoneType error even though I have used this thing in my other cogs too.</p>
  <p>CODE</p>
  <pre><code>@tasks.loop(seconds=10.0)
  async def remind(self):
      remind_channel = self.bot.get_channel(#id of channel)    
      await remind_channel.send(&quot;Passed&quot;)
  </code></pre>
  <p>ERROR</p>
  <pre><code>'NoneType' object has no attribute 'send'
  </code></pre>
  <p>I am sure there is no mistake in channel id and also I am new to tasks so if this problem is arising due to it how do I solve it?</p>