title: I need a daily cooldown for each user in discord.py
body: <p>im making a credits command but everyone can user <code>daily</code> command everytime so i need a cooldown for each user, if i did a daily cooldown for all users then one user can use <code>daily</code>/day here is my code:</p>
  <pre class="lang-py prettyprint-override"><code>    @client.command()
      async def daily(ctx):
          await open_account(ctx.author)
          users = await get_bank_data()
          user = ctx.author
          earning = random.randrange(101)
          await ctx.send(f&quot;:dollar: Daily wallet has been claimed! You got: **{earning}$**&quot;)
          users[str(user.id)][&quot;wallet&quot;] += earning
          with open('./bank.json', 'w') as f:
              json.dump(users,f)
  </code></pre>