title: How do you add a cooldown for a Discord bot command in Python?
body: <p>I am trying to add a cooldown to a Discord bot command in python. I want it so that people can only use the command once per minute and if they try to use it more it will send them a message with how much time is left. Here is my current code:</p>
  
  <pre><code>@client.command(pass_context=True)
  @commands.cooldown(1, 60, commands.BucketType.user)
  async def work(context):
  </code></pre>
  
  <p>Can you please tell me what is wrong with this?</p>