title: a task that check's a user's activity
body: <p>I wanna make a way so that a bot can check a user's status when they type a message and give them a role if their status contains specific words. This is my code atm, yes I've enabled priviliged intents and I'm starting the loop command in the on_message event. The thing is that it returns &quot;ctx is a positional argument that is missing :/ now how do I fix that?</p>
  <pre class="lang-py prettyprint-override"><code>@tasks.loop()
  async def check(ctx):
    supporter = discord.utils.get(ctx.guild.roles, name=&quot;Supporter&quot;)
    member = ctx.author
    if &quot;.gg/eternalgw&quot; in member.activity:
      await ctx.send(f&quot;I gave {member.mention} the Supporter role for supporting us!&quot;)
      await member.add_role(supporter)```
  </code></pre>