title: How to send message in loop of discord.py?
body: <p>I want to make my bot be able to send message in loop with custom loop time
  eg. !remind 60s would make the bot say reminder in 60 seconds
  eg. !remind 23s would make the bot say reminder in 23 seconds</p>
  <p>I currently have this, but it doesn't work.
  Any help would be appreciated and if you could also provide a example that would be great. Thanks</p>
  <pre><code>@tasks.loop(seconds=timeP)
  async def Reminder():
  
  timeP = 5
  channel = client.get_channel(717689495620681731)
  await client.change_presence(activity=discord.Game('online'))
  print('test')
  await channel.send('&lt;@&amp;717696163574186026&gt; here')
  </code></pre>