title: Discord.py counts down until adding Role A when a member sends a message while having Role B. Role A gets added even if role B has been taken away
body: <p>Currently when someone sends a message and has the &quot;Hunger&quot; role, the bot gives them a countdown role (to stop the counting to repeat) and counts 60 seconds, then gives them the &quot;dead&quot; role. However, after the timer is done, it gives the &quot;dead&quot; role even if &quot;hunger&quot; has been taken away which I only want to happen if the user still has &quot;hunger&quot;.</p>
  <pre><code>@client.event
  async def on_message(message):
    Hunger = message.guild.get_role(957207332134223892)
    Counting = message.guild.get_role(957525791426637834)
    Dead = message.guild.get_role(852087847917715457)
    if Hunger in message.author.roles:
      if Counting not in message.author.roles:
        if Dead not in message.author.roles:
          await message.author.add_roles(Counting)
          time.sleep(60)
          if Hunger in message.author.roles:
            await message.author.add_roles(Dead)
          await message.author.remove_roles(Counting)
  </code></pre>